You are viewing a single comment's thread. Return to all comments →
for i in range(1,int(input())+1): print(*range(1, i), *range(i, 0, -1), sep="")
Asked for one print statment Asked for on for loop
I'm this close to loosing it with hackerank
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest 2
You are viewing a single comment's thread. Return to all comments →
Asked for one print statment Asked for on for loop
I'm this close to loosing it with hackerank