How do I remove the quote marks and commas and brackets from this result:
encrypt = input("enter your string: ")
encrypt = encrypt.replace(" ","")
encrypt_list = [encrypt[i:i+5] for i in range(0, len(encrypt), 5)]
print (encrypt)
print (encrypt_list)
If the input was: 5 blocks of text test
The output is: ['5bloc', 'ksoft', 'extte', 'st']
I need it to be: 5bloc ksoft extte st