what is the function of "ord" in python 306 lang.?

doubts

#1

tell me the function of the “ord”.
Also what does this means,“s,t=input(),[0]*26”.


#2

‘ord’ simply gives you the ascii value of character.


#3

as @sshhhh already told its returns you ascii value.

ord(ASCII char) => integer value of that char(0 - 255)

chr(int val) => will return ascii value at that position.