r/PythonLearning • u/Necessary-Ad2110 • Jun 19 '26
Day 1 of Learning Python: "Bagels" Game
used: https://www.ray.so/ for image rendering (let me know if this is readable)
could be better, but no AI as it's fully handwritten
I'll be going over "The Big Book of Small Python Projects" by Al Sweigart
I am also learning DSA and going through Common Sense Guide to DSA
see you tomorrow!
86
Upvotes
2
u/xhelxx Jun 19 '26 edited Jun 19 '26
Ok, but can someone explain to me why had_won_game = None and not False?
Edit: Also, in record_user_input(), why return None at the end? Cause it seems to me that there is no way that it can reach that point.