random.choice python example
Example 1: random.choice
import random
numberList = [111,222,333,444,555]
print("random item from list is: ", random.choice(numberList))
Example 2: random.choice
random.choice(sequence)
import random
numberList = [111,222,333,444,555]
print("random item from list is: ", random.choice(numberList))
random.choice(sequence)