Beginner-friendly Python practice repository covering variables, data types, type conversion, operators, and basic examples.
This repository is designed for beginners who want to learn Python step by step using simple examples and practical scripts. It focuses on the core fundamentals of Python programming, including variables, built-in data types, type conversion, and operators.
The project includes:
- variables and assignments
- Python data types
- type checking with
type() - type conversion
- arithmetic operators
- comparison operators
- example-based practice files
- beginner-friendly explanations
The main goal is to build confidence by learning through small, real examples.
| No | Topic | Folder / File | Description |
|---|---|---|---|
| 01 | Python Basics | Learn The Basics/ |
Introductory Python notes and example scripts |
| 02 | Variables | DataTypes_&_Variables/Variables/Examples.py |
Declaring, casting, and using variables |
| 03 | Numeric Types | DataTypes_&_Variables/DataTypes/1sttest.py |
int, float, complex, and bool examples |
| 04 | String Type | DataTypes_&_Variables/DataTypes/2ndtest.py |
Working with strings and slicing |
| 05 | Sequence Types | DataTypes_&_Variables/DataTypes/3rdtest.py |
list, tuple, and range |
| 06 | Binary Types | DataTypes_&_Variables/DataTypes/4thtest.py |
bytes, bytearray, and memoryview |
| 07 | Dictionary & Set | DataTypes_&_Variables/DataTypes/5thtest.py, 6thtest.py |
Key-value data and unique collections |
| 08 | Boolean & None | DataTypes_&_Variables/DataTypes/7thtest.py, 8thtest.py |
Logical values and null-like data |
| 09 | Type Conversion | DataTypes_&_Variables/DataTypes/TypeConversion.py |
Converting between data types |
| 10 | Arithmetic Operators | Operators/Arithmetic.py |
Addition, subtraction, multiplication, division, modulus exponentiation, and floor division |
| 11 | Comparison Operators | Operators/Comparison.py |
Comparing values using ==, !=, <, >, <=, and >= |
| 12 | Assignment Operators | Operators/Assignment.py |
Using augmented assignment operators such as +=, -=, *=, /=, %= and more |
| 13 | Logical Operators | Operators/Logical.py |
Using and, or, and not with Boolean and non-Boolean values |
Start_With_Python/
βββ Learn The Basics/
β βββ Basic_Intro.md
β βββ test.py
β
βββ DataTypes_&_Variables/
β βββ DataTypes/
β β βββ 1sttest.py
β β βββ 2ndtest.py
β β βββ 3rdtest.py
β β βββ 4thtest.py
β β βββ 5thtest.py
β β βββ 6thtest.py
β β βββ 7thtest.py
β β βββ 8thtest.py
β β βββ DataTypes_Details.md
β β βββ TypeConversion.py
β β
β βββ Variables/
β βββ Examples.py
β
βββ Operators/
| βββ Arithmetic.py
| βββ Comparison.py
β βββ Assignment.py
β βββ Logical.py
|
βββ LICENSE
βββ README.md
βββ .gitignore
- Python variables and assignment
print()output and basic formatting- Data type checking with
type() - Numeric, string, list, tuple, dictionary, set, boolean, and
Nonetypes - Binary-related data types
- Type conversion using
int(),float(), andstr() - Beginner pattern examples for everyday Python practice
- Arithmetic operators:
+,-,*,/,%,**, and// - Comparison operators:
==,!=,<,>,<=, and>= - Augmented assignment operators: +=, -=, *=, /=, %=, **=, and //=
- Logical operators: and, or, and not
- Beginner-friendly examples for practicing Python fundamentals
Open a terminal in the project folder and run:
python "path/to/file.py"Examples:
python "DataTypes_&_Variables\Variables\Examples.py"
python "DataTypes_&_Variables\DataTypes\1sttest.py"On Linux or macOS, you may use:
python3 "DataTypes_&_Variables/Variables/Examples.py"By the end of this repository, you should be able to:
- understand how variables work in Python
- identify common built-in data types
- use
type()to check values - convert values between data types
- understand and use basic arithmetic operators
- compare values using comparison operators
- use augmented assignment operators
- understand and use logical operators
- write and run simple Python programs confidently
- build a strong base for future Python topics like loops, conditions, and functions
If you are learning Python too, feel free to explore, practice, and keep improving.
βStart with small steps, practice consistently, and keep coding.β