Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a,b = input().split()
- X = int(a)
- Y = int(b)
- if X == 1 :
- total = 4*Y
- print("Total: R$ %.2f"%total)
- elif X == 2 :
- total = 4.5*Y
- print("Total: R$ %.2f"%total)
- elif X == 3 :
- total = 5*Y
- print("Total: R$ %.2f"%total)
- elif X == 4 :
- total = 2*Y
- print("Total: R$ %.2f"%total)
- elif X == 5 :
- total = 1.5*Y
- print("Total: R$ %.2f"%total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement