Mega sales
RadhikaGupta1 (0)

Can anyone tell me why my line 4 isn't working. Every time I type in anything more than 20 it still comes up with a one pound voucher.

You are viewing a single comment. View All
leon332157 (154)

You can change it to:
if money >10:
• if money <=20:
•• print()
• elif money >20:
•• print()
Because, it won’t work in one line if u want to compare money>10 and =>20.