how to get n different random integers in a range in python code example Example: python random integer in range import random print(random.randint(0,9))