So today I have learned the basics of Python by watching tutorials online. I mainly covered what flow statements are, and I also learned about functions, classes, and variables like list, tuple, dictionary, etc.
Topics I Covered Today:-
- What are flow statements
- Functions in Python
- Classes in Python
- Variables
- Lists, tuples, and dictionaries
It took me about 6 hours to complete all these topics in detail, and the videos that I watched were at 2x speed so that I did not waste too much time on the basics.
How I Learned:-
So visit YouTube and search for the channel Apna College Python playlist. If you want to watch the content in English, you can watch the Harvard CS50 course, which is also available on YouTube. Now we have to binge-watch the full playlist. Don’t do any practice exercises yet, because we will learn those while doing projects. After learning the basics of Python, we are going to focus on making projects for 15–20 days.Python Project: Simple ATM(First Try By Yourself)
Create a program that works like a simple ATM.
The user should be able to:
- check balance
- deposit money
- withdraw money
- exit
Hints:
- Use a while True loop for the menu
- Store balance in a variable
- Use functions like:
- check_balance()
- deposit()
- withdraw()
- Use if/elif/else
- Validate:
- negative deposit?
- withdraw more than balance?
Concepts covered:
functions, loops, conditionals, input validation
Important Learning Tip:-
Do not waste too much time on the basics. Just learn the main things, because we will learn everything properly by doing projects.
Resources:-
- Apnacollage python playlist:-
- CS50:-
- Use Google And Chatgpt
Final Thoughts:-
This is it, guys. This is what I learned today. Thank you for reading.
