2018-19 Lesson 2: Cooking eggs

posted Oct 12, 2018, 7:59 AM by Attila Lengyel   [ updated Nov 7, 2018, 8:05 AM ]
print("Let's fry eggs!")
num_peo = input("How many people will you serve?")
print("Really?", int(num_peo), "people?")
eggs_per = input("How many eggs per person?")
total_eggs = int(num_peo) * int(eggs_per)
print("Get", total_eggs, "eggs from the fridge!")

Comments