I have this code that's supposed to select 4 random words from a list and put them together to create a password
passphr = []
for r in range(4):
passphr.append(secrets.choice(words_lst))
print(passphr)
This prints out:
['cognitive']
['cognitive', 'shakespeare']
['cognitive', 'shakespeare', 'connectors']
['cognitive', 'shakespeare', 'connectors', 'municipal']
How do I make it print out only the last line with all the words joined together?