You are viewing a single comment's thread. Return to all comments →
I tried below:
for i in range(n): print("%6s" % ((i+1)*"#"))
Except one test case all other failed. Can you please explain why? Thanks in advance
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 below:
for i in range(n): print("%6s" % ((i+1)*"#"))