how to use randNum in python code example
Example 1: random in python
print(random.randint(1, 100))
print(random.random())
Example 2: which function to use in random module for a list in python
random.choice
print(random.randint(1, 100))
print(random.random())
random.choice