Skip to content

theprincepatra/Python

Repository files navigation

🐍 Learning Python

Welcome to Learning Python — your go-to repository for mastering Python fundamentals through clean, practical code snippets and structured examples. Whether you're just getting started or brushing up your skills, this repo covers the most important core concepts you’ll need on your Python journey.


✨ What You’ll Learn

This repository covers the building blocks of Python, explained with examples and use cases:

🔹 1. Basic Introduction to Python

  • Indetation, version check
  • Comment Lines, Escape Sequence, keywords

🔹 2. Data Types

  • Integers, Floats, Strings, Booleans
  • Type Conversion & Type Checking

🔹 3. Lists & Tuples

  • Indexing & Slicing
  • Built-in Methods
  • Immutability in Tuples

🔹 4. Dictionaries & Sets

  • Key-Value Pairs
  • Common Dictionary Methods
  • Set Operations (Union, Intersection, Difference)

🔹 5. Operators

  • Arithmetic, Logical, Comparison
  • Assignment Operators
  • Bitwise Magic 💡

🔹 6. Loops & Control Flow

  • for and while Loops
  • break, continue, and pass
  • Nested Loops

🔹 7. Functions & Recursion

  • Defining & Calling Functions
  • Lambda Expressions
  • Recursive Functions with Base Cases

🔹 8. String Handling

  • String Methods & Formatting
  • Slicing & Concatenation
  • f-Strings and Escape Characters

🔹 9. Object-Oriented Programming (OOP)

  • Classes and Objects
  • Constructors & Instance Variables
  • Inheritance & Method Overriding
  • Polymorphism

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages