i am solving a question on hacker rank i dont know how to read stdinput but my solution is wright what to it shoeing error in hacker rank

not able figure out why it is showing an error when I am trying to solve this problem on hackerrank despite my solution is wright I am not able to understand STDIN and STDOUT pls refer the picture which I have attached import sys def triangle(my_string = sys.stdin.readline()): # first parse teh standard input wich…

Details