Guest User

Untitled

a guest
May 31st, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. keyboard = "qwertyuiop[]asdfghjkl;zxcvbnm,./"
  2.  
  3. puzzle_by_kushwaha = "o vsmmpy dsu rbrm dpttu yp upi yjod yi,r niy nr;orbr ,r o s,
  4. fuomh gtp, omdofr/// s;; o esmy od yp hp nsvl smf trdyptr rbrtuyjomh niy o s,
  5. divj s dommrt yjsy o lmpe o eo;; vp,,oy yjr ds,r ,odyslr shon...."
  6.  
  7. solution = ""
  8. for letter in puzzle_by_kushwaha:
  9. if letter is not " ":
  10. index = keyboard.index(letter)
  11. solution += (keyboard[index-1])
  12. else:
  13. solution += " "
  14.  
  15. print(solution)
  16.  
  17. '''
  18. Output:
  19. "i cannot say even sorry to you this tume but believe me i am dying from inside...
  20. all i want is to go back and restore everything
  21. but i am such a sinner that
  22. i know i will commit the same mistake agib,,,,
  23. "
  24. '''
Add Comment
Please, Sign In to add comment