You are viewing a single comment's thread. Return to all comments →
Python3 is even more love:
for i in range(n): print('{:>{len}}'.format('#'*(i+1), len=n))
You can also do it pretty easy as a one-liner :)
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 →
Python3 is even more love:
You can also do it pretty easy as a one-liner :)