import random


def randfloat(start: float, end: float) -> float:
    """Returns a random float between `start` and `end`"""
    start = int(start * 10000000)
    end = int(end * 10000000)
    resultList = [i / 10000000 for i in range(start, end)]

    return random.choice(resultList)