Question:  A chef needs to cook 12 potatoes. He has already cooked 6. If each potato takes 6 minutes to cook, how long will it take him to cook the rest? 

Solution program:
answer=(6.0*(12.0-6.0))
print(answer)