Triangle Quest 2

  • + 0 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