You are viewing a single comment's thread. Return to all comments →
I think it's not so good idea, better use format in print, like: print('%s%s' % (' ' * (n - i), '#' * i))
Staircase
You are viewing a single comment's thread. Return to all comments →
I think it's not so good idea, better use format in print, like: print('%s%s' % (' ' * (n - i), '#' * i))