0

How can I improve this code?

https://code.sololearn.com/c7UERKV7UyiO/?ref=app All my questions are listed in my code. Thank you! Also! Any other tips or advice would greatly be appreciated.

28th Dec 2018, 8:10 PM
Brice
Brice - avatar
3 Respuestas
+ 2
Please remove the profanity from your code or make it private.
28th Dec 2018, 8:13 PM
Anna
Anna - avatar
0
apologies!
28th Dec 2018, 8:15 PM
Brice
Brice - avatar
0
1. Try this: print("You are" + str(age) + "years old") 2. Both “bac” and “Drink...” appear the same amount of times. 3. Do you mean something like this? bac += beer # Change beer to '0.01' 4. Sorry but multiple inputs at the beginning is all you have for non-web programming languages here on Sololearn.
28th Dec 2018, 8:35 PM
Diego
Diego - avatar