Python - How To Convert String to ASCII Value Code Example
Python - How To Convert String to ASCII Value
#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)