day=input("Enter day:")
amount=int(input("Enter amount:"))
if day.lower()=="sunday" and amount>=5000:
discount=(amount*10)/100
amount=amount-discount
print("You total amount after 10% discount is", amount)
else:
print("You total amount is", amount)
day=input("Enter day:")
amount=int(input("Enter amount:"))
if day.lower()=="sunday" and amount>=5000:
discount=(amount*10)/100
amount=amount-discount
print("You total amount after 10% discount is", amount)
else:
print("You total amount is", amount)
0 comments:
Post a Comment