Daily 5-minute Python challenge

One small practice every day. Same challenge for everyone today. Mark it done, then open the full lesson when you want the deeper explanation.

Today · 5 min practice

Number the documents

Print 1-based indexes with each document name.

Hint: for i, name in enumerate(docs, start=1):

Full lesson

python console

Daily challenge · Control flow

~/lesson.py

Ctrl+Enter

console output

ready

$ waiting for Run...