Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: cp1252 -*-
- def Mayus_or_not(char):
- alfabeto = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
- x=char[0]
- for i in alfabeto:
- if x == i:
- return False
- return True
- texto = raw_input ( 'Ingrese palabra: ')
- if Mayus_or_not(texto):
- print 'Empieza con una MayΓΊscula'
- else:
- print 'Empieza con una MinΓΊscula'
Advertisement
Add Comment
Please, Sign In to add comment