This repository contains all the example programs covered in the Python for Beginners Full Course.
Programs are organized into folders by topic:
00_hello_world.py→ Prints "Hello, World!"01_variables.py→ Demonstrates variables and types02_operators.py→ Arithmetic, relational, logical operators03_number_conversion.py→ Decimal, binary, octal, hexadecimal conversions04_bitwise_demo.py→ Bitwise operators demo05_math_module.py→ Usingmathmodule functions06_user_input.py→ Getting user input and type casting07_conditions.py→ if, elif, else demo
01_while_loop.py→ While loop demo02_for_loop.py→ For loop demo with range and list03_break_continue_pass.py→ Demonstrates break, continue, pass04_pattern_printing.py→ Prints different star patterns
01_list_demo.py→ Lists: access, modify, add, remove, iterate02_tuple_set_demo.py→ Tuple (immutable) and Set (unique, unordered) demo03_more_variable_examples.py→ Strings, booleans, type casting
01_class_object.py→ Classes and objects02_init_and_methods.py→__init__, instance, class, static methods03_inheritance_overriding.py→ Inheritance and method overriding04_method_overloading.py→ Simulating method overloading with default args05_operator_overloading.py→ Operator overloading example with__add__
01_exception_handling.py→ Try, except, else, finally02_multithreading_demo.py→ Basic multithreading withthreadingmodule03_file_handling.py→ File read/write demo04_linear_search.py→ Linear search implementation05_selection_sort.py→ Selection sort implementation06_db_connection.py→ MySQL database connection demo
- Clone or download the repository:
git clone https://github.com/YOUR_USERNAME/python_course.git
cd python_course