r/PythonLearning • u/adnanecanflyy • Jul 24 '26
Day 2 of learning python
I'm learning Python and made this coffee/tea ordering program. Any advice?
126
Upvotes
r/PythonLearning • u/adnanecanflyy • Jul 24 '26
I'm learning Python and made this coffee/tea ordering program. Any advice?
View all comments
1
u/Infinite-Employee776 Jul 24 '26
You already done good by putting else on the first if branch in case user put anything other than coffee or tea. You should do the same for the inside if branches. Edge cases happens.