cake.py (192B)
1 while True: 2 eggs = int(input("how many eggs are there: ")) 3 if eggs < 8: 4 break 5 flour = eggs * 100 6 sugar = eggs * 50 7 8 print("you will need", flour, "grams and", sugar, "grams")
schoolthing1's amazing school repo | |
| Log | Files | Refs | Submodules | README |