Halloween · difficulty 1 of 3
Share the sweets fairly 🎃
Each group of trick-or-treaters splits its haul evenly. Work out how many sweets each child gets and how many are left over for the grown-up.
Write it in the browser and press run. Real Python, checked against the expected output, no account needed.
Skills: loops, dicts, strings