Advertisement
Spocoman

03. Decrypting Messages

Jan 20th, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. key = int(input())
  2. rows = int(input())
  3. string = ''
  4.  
  5. for i in range(rows):
  6.     string += chr(ord(input()) + key)
  7.  
  8. print(string)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement