Kodewick
Start learning →
Starter←→0 / 100

Progress text

#090StarterStringsNumbers2 min

A to-do app shows progress at the top. Write progress(done, total) to return text like 3 of 5 done.

Examples
progress(3, 5)→'3 of 5 done'
progress(0, 4)→'0 of 4 done'
main.py
def progress(done, total):
    # your code here: build "3 of 5 done" with an f-string
    pass
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.