def calulate(x, y, timestamp):
    """ Return random int for testing lru_timestamp function."""

    print('performing calculation (not from cache), timestamp:', timestamp)
    return random.randint(x, y)
 Return random int for testing lru_timestamp function.
recipes/Python/578817_lrutimestamp__cache_entry_aging/recipe-578817.py