Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. n=str(raw_input("Ingrese alguna wea"))
  2. if n in '123456789':
  3.     print n, "es un numero"
  4.  
  5. elif n in 'qwertyuiopasdfghjklzxcvbnm':
  6.     print n, "es una letra minuscula"
  7.  
  8. elif n in 'QWERTYUIOPASDFGHJKLZXCVBNM':
  9.     print n, "es una letra mayuscula"
  10.  
  11. else:
  12.     print n, "es otra wea"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement