Hi there i am trying to put a user input into an array, so far i have:
#Decrypt string
def decrypt():
print("Please enter code to be decrypted.")
text = input(">>>")
print("Please enter your key used to encrypt the data.")
key = int(input(">>>"))
#Put input into array
#????
I am tring to get the input and put it in an array so that it can be referenced using
chr(text[1])
To convert it into plain text from ascii (Basic encryption and decryption). I have found a few posts on this but they are outdated (for python2 etc...).
Thanks!