# Q: NAME_1 had 20 lollipops. He gave NAME_2 some lollipops. Now NAME_1 has 12 lollipops. How many lollipops did NAME_1 give to NAME_2?
# solution using Python:

def solution():
    """NAME_1 had 20 lollipops. He gave NAME_2 some lollipops. Now NAME_1 has 12 lollipops. How many lollipops did NAME_1 give to NAME_2?"""
    NAME_1_lollipops_initial = 20
    NAME_1_lollipops_after = 12
    NAME_2_lollipops = NAME_1_lollipops_initial - NAME_1_lollipops_after
    result = NAME_2_lollipops
    return result



# Q: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, there will be 21 trees. How many trees did the grove workers plant today?
# solution using Python:

def solution():
    """There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, there will be 21 trees. How many trees did the grove workers plant today?"""
    trees_initial = 15
    trees_after = 21
    trees_added = trees_after - trees_initial
    result = trees_added
    return result



# Q: NAME_3 has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now?
# solution using Python:

def solution():
    """NAME_3 has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does he have now?"""
    toys_initial = 5
    mom_toys = 2
    dad_toys = 2
    total_received = mom_toys + dad_toys
    total_toys = toys_initial + total_received
    result = total_toys
    return result



# Q: There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room?
# solution using Python:

def solution():
    """There were nine computers in the server room. Five more computers were installed each day, from monday to thursday. How many computers are now in the server room?"""
    computers_initial = 9
    computers_per_day = 5
    num_days = 4  # 4 days between monday and thursday
    computers_added = computers_per_day * num_days
    computers_total = computers_initial + computers_added
    result = computers_total
    return result


# Q: As soon as you enter the taxi, you pay a ride fee of $2. NAME_4 rode a taxi from her office to her home, which constitutes 4 miles. If the taxi charge per mile is $2.5, how much did pay NAME_4 pay in total for her ride?
# solution using Python: