Advertisement
pacho_the_python

Untitled

Jan 21st, 2022
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. letter = input()
  2. num = int(input())
  3.  
  4. result_ord = ord(letter)
  5.  
  6. result_chr = chr(num)
  7.  
  8. print(result_ord)
  9. print(result_chr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement