How to pick randomly between three letters in Python

1 Answer

0 votes
import random, string

letters = 'WAZ'

random_letter = ''.join((random.choice(letters)) for ch in range(1))  

print(random_letter)  


'''
run:

Z

'''

 



answered Sep 17, 2023 by avibootz
...