+ 2
How to convert ASCII to TEXT ??
give text is like 656787 without any space
4 Réponses
+ 13
'''
To convert a number to a text:
You will use the function chr(), example:
'''
print(chr(100))
'''
To convert text to their ascii character, you use the function ord(),example:
'''
print(ord('V'))
+ 1
+Martin Taylor
I want python program or some syntax how to do that
+ 1
I think the only ones that are three characters long start with a "1" or "2". all others are two characters long. You are in trouble if there are characters starting with "1" or "2" that are only two characters long. But maybe they are not used, they are not readable.
0
how to separate numbers to get 3 digit number or 2 digit in a given. string like 1207889...like that