Triangle Quest

  • + 0 comments

    below solution should be acceptance, not sure which test case is getting blocked, but seems using 'str' is not allowd with this example. n = int(input()) def pattern_output(n): for i in range (1, n): print (str(i) *i)

    pattern_output(n)