f=input("number of fat grams:") c=input("number of carbohydrate grams:") print"calories from fat : " print f*9 print"calories from carbohydrate : " print c*8*4# your code goes here
5 5
number of fat grams:number of carbohydrate grams:calories from fat : 45 calories from carbohydrate : 160