python using secrets

34

import secrets

my_list = [1, 'a', 32, 'c', 'd', 31]
print(secrets.choice(my_list))

Comments

Submit
0 Comments