I learned:
- Install Python and IDEs (PyScripter, PyCharm)
- First program and variables
- Input, output, type conversion
- Strings, operators, and comments
- If-else, logical and comparison operators
- Loops (for, while, break, continue)
- Data structures: list, tuple, set, dictionary
- Functions
This gives me a strong base.
- Store student names and marks in a dictionary.
- Calculate total, average, grade (A, B, C, Fail).
- User can add, update, and view reports.
- Concepts: dictionary, loops, functions.
- Use an API like OpenWeather.
- User enters a city β program shows temperature, humidity, and weather.
- Concepts: requests (API call), JSON handling, functions.
- Store books in a dictionary (book name β availability).
- User can: add book, borrow book, return book, view all books.
- Concepts: dictionary, loops, input/output, functions.
- User can add expenses (amount + category).
- Program shows total spent, spending by category.
- Save expenses in a list or dictionary.
- Concepts: list/dictionary, loops, functions.
- User studies with flashcards.
- Dictionary stores questions and answers.
- Program asks random questions β user types answer β program checks correct or not.
- At the end, show score.
- Concepts: dictionary, random module, loops, functions.