You are viewing a single comment's thread. Return to all comments →
Here is Python 3 solution from my HackerrankPractice repository:
def staircase(a): for i in range(1, a + 1): print((a - i) * ' ' + i * "#") n = int(input()) staircase(n)
Feel free to ask if you have any questions :)
Seems like cookies are disabled on this browser, please enable them to open this website
Staircase
You are viewing a single comment's thread. Return to all comments →
Here is Python 3 solution from my HackerrankPractice repository:
Feel free to ask if you have any questions :)