You are viewing a single comment's thread. Return to all comments →
Really it is very fantastic I was trying for i in range(n): k = n while k>i+1: print ' ', k -= 1 for j in range(i+1): print '#', print
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 →
Really it is very fantastic I was trying for i in range(n): k = n while k>i+1: print ' ', k -= 1 for j in range(i+1): print '#', print