import random


def create_coordinates(n, coordsmin, coordsmax):
    """ Returns a list of n distinct numbers in the range coordsmin <= c <= coordsmax. min/max should be integers."""
    return random.sample(range(coordsmin, coordsmax + 1), n)