SHARE
TWEET

Untitled

a guest Sep 15th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cadena = input('Escriba un titulo: ')
  2. salida = ''
  3. for n in cadena:
  4.     if n not in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
  5.         salida = salida + n
  6.     else:
  7.         a = ord(n)
  8.         b = a + 32
  9.         salida = salida + chr(b)
  10. print(salida)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top