Advertisement
hackloper775

NombreCiudad

Dec 31st, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import os
  3.  
  4. def clear():
  5.     os.system('clear')
  6.  
  7. clear()
  8.  
  9. nombre = input("Nombre: ")
  10. apellido = input("Apellido: ")
  11. pais = input("Pais: ")
  12. edo = input("Estado: ")
  13.  
  14. clear()
  15.  
  16. print ("Nombre: ", str.capitalize(nombre))
  17. print ("Apelllido: ", str.capitalize(apellido))
  18. print ("Pais: ", str.capitalize(pais))
  19. print ("Estado: ", str.upper(edo) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement