Concept

ord()

This function is used to convert a character to an integer.

s = ' 4' c = ord(s) print(c)
52

0

0

Updated 2021-07-27

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science

Related