0

What does the ord() function do in python?

16th May 2020, 12:43 PM
Shobhit Pandey
Shobhit Pandey - avatar
5 Answers
+ 3
This was answered just a few days ago. Please use search bar for finding more information. https://www.sololearn.com/Discuss/2295105/?ref=app
16th May 2020, 12:55 PM
Lothar
Lothar - avatar
+ 1
python Hope it can help.
16th May 2020, 1:34 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
0
It returns ASCII number of str you give it as argumant E.g: >>>ord('s') 58 (Above code was example and its maybe its not true) If you dont know about ASCII just google it. Its realy simple
16th May 2020, 12:55 PM
Ramin.RX7
Ramin.RX7 - avatar
0
Please post accurate answers Ramin.RX7
16th May 2020, 1:34 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
0
Thanks James
16th May 2020, 1:36 PM
Shobhit Pandey
Shobhit Pandey - avatar