demo_ref_random_choice2.py:
import random x = "WELCOME" print(random.choice(x))
➜ begtut>python demo_random_choice2.py