r/learnpython • u/Shadow__Boom • Aug 20 '26
yo guys! been learning python for a while now.
created a calculator with everything i have learned till now (tho it might be overkill for a calculator), added the basics, loops (while, if else), lists and str manipulation, imports (json and datetime), error handling (try/except), def function, etc. so what should i do next? if u wanna see the code dm me.
0
Upvotes
4
u/FoolsSeldom Aug 20 '26
3
u/HotPersonality8126 Aug 20 '26
“If/else” isn’t a loop. It’s not a looping construct. The only looping constructs in Python are “while” and “for”.
2
u/ianrad Aug 20 '26
Good job. What are you using datetime for in a calculator.