anne bought doughnuts for a class breakfast party . she bought 9 chocolate doughnuts , 7 coconut doughnuts , and 9 jam - filled doughnuts . how many doughnuts did anne buy in all ?
n0 = 9.0
n1 = 7.0
n2 = 9.0
t0 = n0 + n1
answer = n2 + t0
print(answer)