This is my code. it is an easy program but I cant figure out why it doesnt print the last lines?
drink = input('What is your order?')
if drink == 'beer':
age = int(input('What is your age?'))
if age >= 18:
print('Here Beer')
else:
print('No beer for you!')
if drink == input('Do you want water or juice?'):
if drink == 'water':
print('water for you!')
elif drink == 'juice':
print('Here you go some juice!')
Aucun commentaire:
Enregistrer un commentaire