Question:  There were 11 friends playing a video game online when 5 players quit. If each player left had 5 lives, how many lives did they have total? 

Solution program:
answer=(5.0*(11.0-5.0))
print(answer)

Answer: 30