Advertisement
roneygomes

Execução Condicional 2

Dec 8th, 2011
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3.  
  4. escolha = raw_input("Qual prato você deseja?")
  5.  
  6. if escolha == "peixe":
  7.     print "O seu peixe será servido em alguns minutos."
  8. else:
  9.     print "Lamento senhor, só servimos peixe."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement