Can someone please help me understand where I am going wrong, I am supposed to convert a string of ASCII to text:

seq=input("enter string ASCII numbers to be converted into text: ")
    
    for x in range(0, len(seq)):
        seq2=chr[seq[x]]
    print(seq2)

Any help will be appreciated!Thanks!

chr[seq[x]] wrong chr[] shall be chr().
But that dosent matter it will still be wrong.
You most split user input,so if someone enter 67 65 82 they get CAR.

seq = input("enter string ASCII numbers to be converted into text: ")
text = ''
for item in seq.split():
    text += chr(int(item))

print(text)

Next time post Traceback and what version of python you use(i guess python 3)
Most of use python 2.x,then you will get answer that only work for python 2.x.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.