def health_calculator(age, apples_ate, cigs_smoked):
answer = (100-age) + (apples_ate * 3.5) - (cigs_smoked * 2)
print(answer)
buckys_data = [27, 20, 0]
health_calculator(buckys_data[0], buckys_data[1], buckys_data[2])
health_calculator(*buckys_data)
网友评论