File tree 2 files changed +10
-24
lines changed
2 files changed +10
-24
lines changed Original file line number Diff line number Diff line change
1
+ ingredient_one = input ("Enter ingredient 1: " )
2
+ ingredient_one_weight = float (input ("Ounces of " + str (ingredient_one ) + ": " ))
3
+ ingredient_two = input ("Enter ingredient 2: " )
4
+ ingredient_two_weight = float (input ("Ounces of " + str (ingredient_two ) + ": " ))
5
+ ingredient_three = input ("Enter ingredient 3: " )
6
+ ingredient_three_weight = float (input ("Ounces of " + str (ingredient_three ) + ": " ))
7
+ number_servings = int (input ("number of servings: " ))
8
+ print "Total ounces of " + str (ingredient_one ) + ": " + str ((float (ingredient_one_weight )* float (number_servings )))
9
+ print "Total ounces of " + str (ingredient_two ) + ": " + str ((float (ingredient_two_weight )* float (number_servings )))
10
+ print "Total ounces of " + str (ingredient_three ) + ": " + str ((float (ingredient_three_weight )* float (number_servings )))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments