Skip to content

shanaya-Gupta/Python-basic-

 
 

Repository files navigation

Python Basics

This repository contains beginner-friendly Python programs and notes.
It is designed for students who are learning Python step by step.
Each file covers a small concept with examples. (inspired from w3school)


📂 Repository Structure

  • intro1.py → Casting, variables, and other Python basics
  • 1String.py → Basic string operations
  • 2String2.py → More string examples
  • 3Password_generator.py → Random password generator using Python's random module
  • 4Miniprogram.py → Small example program (practice)
  • 5String2.py → Extra string examples
  • 6Booleans.py → Boolean operations and logic
  • 7Lists2.py → List examples
  • 8Lists2.py → More list operations (includes list comprehension)

🚀 Topics Covered So Far

  • Printing and Variables
  • Type Casting
  • Strings
  • Booleans
  • Lists
  • List Comprehension (basic)
  • Mini Programs
  • Password Generator

📝 Upcoming Topics

-list3(remaning topics)

  • Tuples
  • Dictionaries
  • Sets
  • Functions
  • File handling

🤝 Contribution

Contributions are welcome, especially for Hacktoberfest! 🎉
If you are a beginner, you can contribute by:

  1. Adding more Python examples (loops, tuples, sets, etc.).
  2. Improving comments and explanations in existing files.
  3. Creating small programs to demonstrate concepts.
  4. Fixing typos or improving code readability.

How to Contribute:

  • Fork this repo
  • Create a new branch (git checkout -b feature-name)
  • Add your code or improvements
  • Commit changes with a meaningful message
  • Open a Pull Request 🚀

📜 License

This project is licensed under the MIT License.


About

learning python step by step with example code and notes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%