r/PythonLearning • u/Suspicious_Diet2624 • Apr 26 '26
Discussion Good for beginner?
I made this in about 5 minutes is it good?
404
Upvotes
r/PythonLearning • u/Suspicious_Diet2624 • Apr 26 '26
I made this in about 5 minutes is it good?
1
u/Smart_Tinker Apr 26 '26
It’s very complicated for a simple function.
I would do:
You also need some error handling in case someone enters a bogus time, like “a” or something.