Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- 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"]
- aurelio = 1
- crypto=""
- def countdown(timer):
- while timer:
- time.sleep(1)
- timer -= 1
- countdown(10)
- while aurelio==aurelio:
- mess = input ("Inserire messaggio: ")
- y = 0
- for i in mess :
- for posizione in range(0,len(Alfabeto)-1):
- if i == Alfabeto[posizione] and i != " ":
- x=posizione
- k=x+1
- crypto = crypto + Alfabeto[k]
- break
- if i == " ":
- crypto=crypto + i
- print(crypto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement