You are viewing a single comment's thread. Return to all comments →
In Python:
def staircase(n): base = n spaces = (base - 1) for b in range(1,base+1): print(' '*spaces +'#'*b) spaces -= 1
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 →
In Python: