Triangle Quest 2

  • + 0 comments

    for i in range(1,int(input())+1): #More than 2 lines will result in 0 score. Do not leave a blank line also s ="".join((list(map(str,list(range(1,i)))))) print (int("".join((list(map(str,list(range(1,i+1))))))+s[::-1]))

    for this its throwing error saying str not allowed