1# The ord() function returns an integer representing the Unicode character.
2res = ord('A')
3print(res)
4# output 65
1'''note the integer representation of unicode character
2of capital letters and small letters are completely different'''
3
4# example
5print( ord('A') ) # output 65
6print( ord('a') ) # output 97
1print('Unicode value of lower case alphabet a is ', ord('a')) # lower case alphabet
2print('Unicode value of bumber 5 is ', ord('5')) # Number
3print('Unicode value of symobol $ is ', ord('$')) # dollar
4print('Unicode value of upper case alphabet A is ', ord('A')) # Upper case alphabet
5print('Unicode value of zero is ', ord('0')) # Number Zero
6