2. Project: Number Beat

Digits → beats

str() turns a number into text so you can loop over its digits; int() turns each digit back into a number. Birthdays, lucky numbers and scores all become beats.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:n = 1357. Loop over str(n) and play kick(int(d)) for each digit d.

Goal
kick
1234
5678