Skip to content

Python Basics Repository: This repository contains a collection of Python code files that cover the basics of Python programming. These files are intended for learning purposes and serve as a resource for beginners who want to grasp the fundamentals of Python.

License

Notifications You must be signed in to change notification settings

Saadat-Khalid/python-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-basics

Python Basics Repository

This repository contains a collection of Python code files that cover the basics of Python programming. These files are intended for learning purposes and serve as a resource for beginners who want to grasp the fundamentals of Python.

Contents

The repository includes the following files:

  1. 01_first_program.py: A simple program that prints "Hello, World!" to the console.
  2. 02_operators.py: Examples demonstrating the usage of operators in Python.
  3. 03_strings.py: Code snippets showcasing string manipulation and operations.
  4. 04_comments.py: Examples illustrating the usage of comments in Python code.
  5. 05_variables.py: Code snippets explaining how to work with variables in Python.
  6. 06_input_variable.py: Examples demonstrating how to take user input in Python.
  7. 07_conditional_logics.py: Code samples showcasing conditional statements and logical operators.
  8. 08_type_conversion.py: Examples illustrating type conversion in Python.
  9. 09_if_elif_else.py: Code snippets explaining the usage of if, elif, and else statements.
  10. 10_functions.py: Examples demonstrating the definition and usage of functions in Python.
  11. 11_loops.py: Code samples showcasing different types of loops, including for and while loops.
  12. 12_import_libraries.py: Examples illustrating the import and usage of libraries in Python.
  13. 13_troubleshooting.py: Code snippets showcasing common troubleshooting techniques.
  14. 14_python_list.py: Examples demonstrating the usage of Python lists and list operations.
  15. 15_tuples.py: Code snippets illustrating the concept of tuples and how to work with them.
  16. 16_sets.py: Examples showcasing the usage of sets and set operations in Python.
  17. 17_dictionaries.py: Code samples explaining the usage of dictionaries and their operations.
  18. 18_lambda_function.py: Examples demonstrating the creation and usage of lambda functions.

Feel free to explore and use these files as a reference to understand the basics of Python programming. Each file contains comments explaining the code and its purpose.

How to Use

  1. Clone the repository to your local machine using the command: git clone https://github.com/saadat-khalid/python-basics.git
  2. Navigate to the repository directory: cd python-basics
  3. Open the individual Python files using your preferred code editor or IDE.
  4. Read through the code and comments to understand the concepts and examples presented.
  5. Experiment with the code by making modifications and running it to see the results.
  6. Feel free to create your own Python files and add them to the repository to further expand your learning.

Contributions

Contributions to this repository are welcome. If you find any issues or have improvements to suggest, please open an issue or submit a pull request. Let's learn and improve together!

Credits

CODANICS is brought to you with inspiration from Dr Aammar's YouTube channel, Codanics. As a dedicated learner, I've drawn insights and knowledge, including Data Science, from Dr Aammar's informative content on coding and development.

Learn Data Science and more from Dr Aammar on his YouTube channel: Codanics

A special thanks to Dr Aammar for sharing his expertise and fostering a learning community through Codanics.

License

This repository is licensed under the MIT License. You are free to use the code for personal or educational purposes.

Happy coding!

About

Python Basics Repository: This repository contains a collection of Python code files that cover the basics of Python programming. These files are intended for learning purposes and serve as a resource for beginners who want to grasp the fundamentals of Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages