Question:  There were 2 friends playing a video game online when 2 more players joined the game. If each player had 3 lives, how many lives did they have total? 

Solution program:
answer=(3.0*(2.0+2.0))
print(answer)

Answer: 12