The misting timer counted down. Here a portable radio charges up from 10% to 40% in 10-point steps. while charge < 40 stops before a turn starting at 40. The starter supplies the starting charge and a counter.
Edit main.py, press Run to see 40 and 3 on separate lines, then press Submit.
while loop that increases charge by 10 and steps by 1 each turn until charge reaches 40. The supplied print lines should show a 40% charge after three steps.