Advertisement
rony2605

Desvio com 3 numeros

Mar 13th, 2013
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. f = input("Digite quanto de fuel vc tem")
  2. fuel = int(f)
  3. m = input("Digite qunto de monei vc tem")
  4. money = int(m)
  5. if fuel > 3:
  6.     print("Esta tudo ok")
  7.     print("Voce pode dirigir ate o centro")
  8. else:
  9.     if money < 10:
  10.         print("Vc deve comprar um pouco de gas")
  11.     else:
  12.         print("nao precisa comprar gas")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement