adding text to correct the sentence (#33972)

Ord() and Chr() exists in both python 2.7 as well as python 3. The sentence was incorrect to state its only available in Python 3
This commit is contained in:
Adi
2019-01-18 16:54:13 -08:00
committed by Tom
parent 56f37dbe12
commit 9c3aa51ee4

View File

@ -4,7 +4,7 @@ title: Python Ord Function
## Ord function
`ord()` is a built-in function in Python 3, to convert the string representing one Unicode character into integer
`ord()` is a built-in function in Python 2.7 & 3, to convert the string representing one Unicode character into integer
representing the Unicode code of the character.
#### Examples:
@ -17,7 +17,7 @@ representing the Unicode code of the character.
## chr function
`chr()` is a built-in function in Python 3, to convert the integer
`chr()` is a built-in function in Python 2.7 & 3, to convert the integer
representing the Unicode code into a string representing a corresponding character.
#### Examples: