Please write a program that creates steps. You are expected to take in a single positive integer which will be used as the number of steps in your staircase. The program only accepts integers greater than 0 and less than 500. If 0 is entered a message stating "Your staircase has no steps." and if the user enters a value greater than or equal to 500, a message stating "I can't build a staircase that tall." For all other values not within the valid range or not integers an "Invalid staircase size provided." will be displayed to the user. The program will always run only once for each user input. One thing to note, the messages should be the return string from your createSteps() function and printed from the calling function. Additional Requirements: 1. The very first step in the stair case will be left aligned and for each subsequent level the step will move above and to the right of the prior step. 2. There are no spaces after the right of any of the steps. 3. The bottom most row ends without a new line.
(Python) Please write a
One thing to note, the messages should be the return string from your createSteps() function and printed from the calling function.
Additional Requirements:
1. The very first step in the stair case will be left aligned and for each subsequent level the step will move above and to the right of the prior step.
2. There are no spaces after the right of any of the steps.
3. The bottom most row ends without a new line.

Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images









