Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What Does The Ord() Function Do In Python?
Home
Python
What Does The Ord() Function Do In Python?
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
(
31.6k
points)
What Does The Ord() Function Do In Python?
#python-ord
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 14, 2019
by
SakshiSharma
(
32.2k
points)
The ord(char) in Python takes a string of size one and returns an integer denoting the Unicode code format of the character in case of a Unicode type object, or the value of the byte if the argument is of 8-bit string type.
>>> ord("z")
122
Related questions
0
votes
Q: Can you please help to clarify what does the ord() function do in Python Language?
asked
Aug 30, 2020
in
Python
by
sharadyadav1986
(
31.6k
points)
#python-ord-function
Python-questions-answers
0
votes
Q: Can you please help to clarify what does the chr() function do in Python Language?
asked
Aug 30, 2020
in
Python
by
sharadyadav1986
(
31.6k
points)
#python-chr-function
#chr-function
Python-questions-answers
0
votes
Q: Can you please help to clarify what does the len() function do in Python Language?
asked
Aug 29, 2020
in
Python
by
Robindeniel
(
20.8k
points)
#python-len
#len-python
Python-questions-answers
0
votes
Q: What Does The Chr() Function Do In Python?
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
(
31.6k
points)
#python-chr
Python-questions-answers
0
votes
Q: What Does The Len() Function Do In Python?
asked
Dec 14, 2019
in
Python
by
sharadyadav1986
(
31.6k
points)
#python-len
Python-questions-answers
0
votes
Q: How do you use the split() function in Python Language?
asked
Aug 30, 2020
in
Python
by
sharadyadav1986
(
31.6k
points)
#python-split-function
#split-function
Python-questions-answers
0
votes
Q: How do we write a function in Python Language?
asked
Aug 29, 2020
in
Python
by
Robindeniel
(
20.8k
points)
#python-function-write
#write-a-function
Python-questions-answers
0
votes
Q: How do you create a Python function?
asked
May 16, 2020
in
Python
by
Robindeniel
(
20.8k
points)
#python-function
#function-python
Python-questions-answers
...