[Solved] How to chose a random word from a list with a condition in python [closed]


import random

lst = ['a','b','c']
print(random.choice(lst))

(Use the random module to get random values instead of going through the long process of creating a randomizer)

solved How to chose a random word from a list with a condition in python [closed]