import random


def createLoc(qspace):
    """Given a qspace, return a list of randomized numbers (len=dim) within the qspace"""
    loc = []
    for tup in qspace.getSize():
        a1 = tup[0]
        a2 = tup[1]
        loc.append(random.uniform(a1,a2))
    return loc