Advertisement
roneygomes

Adivinhação

Dec 9th, 2011
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3.  
  4.  
  5. valor = int(raw_input("Adivinhe o número secreto: "))
  6.  
  7. while valor != 7:
  8.     valor = int(raw_input("Adivinhe o número secreto: "))
  9.    
  10. print "Parabéns, você adivinhou."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement