Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Pizza Slices

You have 3 pizzas with 8 slices each, and 5 people. Calculate how many slices each person gets and how many are left over.

Your output should be:

text
Each person gets 4 slices
Leftover slices: 4

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python
pizzas = 3
slices_per_pizza = 8
people = 5

# Calculate slices per person and leftovers