import random


def random_choice(meeting_probability):
    """
    purpose: Define a random choice of whether a person go out to see friends by getting a random value between 0 and 1.
    argument: meeting_probability
    return: Whether they will meet each other
    """
    val = random.random()
    # If random value < meeting_probability means they will meet, else will not.
    if val < meeting_probability:
        return True
    else:
        return False