Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert to ascii

#python 3.x
text = input("enter a string to convert into ascii values:")
ascii_values = []
for character in text:
    ascii_values.append(ord(character))
print(ascii_values)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #convert #ascii
ADD COMMENT
Topic
Name
6+6 =