Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: utf-8
- # Programacao 1, 2014.1 Pedro Paulo
- # Limpeza
- tipo = int(raw_input())
- if tipo == 1:
- volume = int(raw_input())
- preco = volume * 80.0
- print "R$ %.2f" % preco
- if preco >= 200:
- print "Brinde!"
- if tipo == 2:
- volume = int(raw_input())
- preco = volume * 50.0
- print "R$ %.2f" % preco
- if preco >= 200:
- print "Brinde!"
- if tipo == 3:
- print "R$ 50,00"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement