Advertisement
atanasovetr

nikol

Feb 10th, 2022
717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. entry = input()
  2. while(entry != 'q' and entry != 'Q'):
  3.     if(len(entry) != 1):
  4.         print("You must enter only one character!")
  5.     else:
  6.         print(ord(entry))
  7.     entry = input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement