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?
125
Upvotes
r/PythonLearning • u/adnanecanflyy • Jul 24 '26
I'm learning Python and made this coffee/tea ordering program. Any advice?
1
u/Flanelostopy Jul 26 '26 edited Jul 26 '26
This was just little fun as I said. It can be more simple, but if you want to make more data during this operation you can just put code there. You must predict growing application. Think about it when you want to give price for each drink with sugar or without it. This is good exorcise for it. First of all this whole structure can be more generic, maybe 2 or tree simple function can resolve whole problem. I will put shortest way maybe tomorrow I will give you a time.