You are viewing a single comment's thread. Return to all comments →
I tried this way in Python3
def staircase(n): starthash = n-1 for j in range(0,n): for i in range(0,n): if i < starthash: print (" ",end="") else: print ("#",end="") print("") starthash = starthash -1 return 0
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 →
I tried this way in Python3