Skip to content

ankitpublicstatic/PythonProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Course Programs

This repository contains all the example programs covered in the Python for Beginners Full Course.

Programs are organized into folders by topic:


Folder Structure

01_basics

  • 00_hello_world.py → Prints "Hello, World!"
  • 01_variables.py → Demonstrates variables and types
  • 02_operators.py → Arithmetic, relational, logical operators
  • 03_number_conversion.py → Decimal, binary, octal, hexadecimal conversions
  • 04_bitwise_demo.py → Bitwise operators demo
  • 05_math_module.py → Using math module functions
  • 06_user_input.py → Getting user input and type casting
  • 07_conditions.py → if, elif, else demo

02_loops

  • 01_while_loop.py → While loop demo
  • 02_for_loop.py → For loop demo with range and list
  • 03_break_continue_pass.py → Demonstrates break, continue, pass
  • 04_pattern_printing.py → Prints different star patterns

03_data_structures

  • 01_list_demo.py → Lists: access, modify, add, remove, iterate
  • 02_tuple_set_demo.py → Tuple (immutable) and Set (unique, unordered) demo
  • 03_more_variable_examples.py → Strings, booleans, type casting

04_oop

  • 01_class_object.py → Classes and objects
  • 02_init_and_methods.py__init__, instance, class, static methods
  • 03_inheritance_overriding.py → Inheritance and method overriding
  • 04_method_overloading.py → Simulating method overloading with default args
  • 05_operator_overloading.py → Operator overloading example with __add__

05_advanced

  • 01_exception_handling.py → Try, except, else, finally
  • 02_multithreading_demo.py → Basic multithreading with threading module
  • 03_file_handling.py → File read/write demo
  • 04_linear_search.py → Linear search implementation
  • 05_selection_sort.py → Selection sort implementation
  • 06_db_connection.py → MySQL database connection demo

How to Run

  1. Clone or download the repository:
git clone https://github.com/YOUR_USERNAME/python_course.git
cd python_course

About

POC Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published