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

[ad_1]

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)

[ad_2]

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