Use Python to generate a random password that is 20 characters long and contains symbols, numbers, and letters.
Not applicable
import string
import random

length = 20

password = ''
for c in range(length):
 password += random.choice(string.ascii_letters + string.digits + string.punctuation)

print(password)