filmov
tv
Python function chr() and ord() & string method #python #coding #pythonprogramming #cod

Показать описание
we learn about chr() and ord() function.
The chr() method returns a string representing a character whose Unicode code point is an integer. The chr() method takes only one integer as argument. The range may vary from 0 to 1,1141,111(0x10FFFF in base 16). The chr() method returns a character whose unicode point is num, an integer.
Python ord() function returns the Unicode code from a given character. This function accepts a string of unit length as an argument and returns the Unicode equivalence of the passed argument.
#python #coding #pythonprogramming #cod
chr() function and ord function.
thank you for watching .
The chr() method returns a string representing a character whose Unicode code point is an integer. The chr() method takes only one integer as argument. The range may vary from 0 to 1,1141,111(0x10FFFF in base 16). The chr() method returns a character whose unicode point is num, an integer.
Python ord() function returns the Unicode code from a given character. This function accepts a string of unit length as an argument and returns the Unicode equivalence of the passed argument.
#python #coding #pythonprogramming #cod
chr() function and ord function.
thank you for watching .