Solve Problems by Coding Solutions - A Complete solution for python programming
import random
random.random()
random.uniform(1, 10)
random.randint(1, 10)
random.randrange(0, 101, 2)
random.choice('abcdefghij')
items = [1, 2, 3, 4, 5, 6, 7]
random.shuffle(items)
items
random.sample([1, 2, 3, 4, 5], 3)