SHARE
TWEET

Untitled

a guest May 27th, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2. 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","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"]
  3. aurelio = 1
  4. crypto=""
  5. def countdown(timer):
  6.      while timer:
  7.         time.sleep(1)
  8.         timer -= 1
  9. countdown(10)
  10.  
  11. while aurelio==aurelio:
  12.     mess = input ("Inserire messaggio: ")
  13.     y = 0  
  14.     for i in mess :
  15.         for posizione in range(0,len(Alfabeto)-1):
  16.             if i == Alfabeto[posizione] and i != " ":
  17.                 x=posizione
  18.                 k=x+1
  19.                 crypto = crypto + Alfabeto[k]
  20.                 break
  21.         if i == " ":
  22.             crypto=crypto + i
  23.     print(crypto)
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