Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lemon_int = (input('Lemons: '))
- sugar_int = (input('Sugar: '))
- water_int = (input('Water: '))
- price_of_cup = (1.20)
- juice = (lemon_int*980)
- pre_juice = (lemon_int*1000)
- all_juice = (juice + pre_juice)
- one = (sugar_int*30)
- two = (one/100)
- whole_juice = (all_juice+two)
- sold_cups = (whole_juice/150)
- profit = (sold_cups*price_of_cup)
- print('All cups sold: ' + sold_cups)
- print('Money earned: ' + profit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement