How to plot a stair case

...using python basic line plot

It all began with an email from 1729 with a task for the day: Learning Replit
The track is a data science tutorial on Replit.
I found the content, instructions, exercises quite useful and so I quickly had an idea to plot a simple stair case using the basic line plot.
You can review my code, play with it, edit it to come up with a different image (if you like).
Look forward to going through other tutorials and tracks at Replit.
And curious what new and exciting task will arrive in my inbox tomorrow.