random series generator python code example Example: random in python print(random.randint(1, 100)) print(random.random())