Diagonal Difference

  • + 0 comments

    hi i am a beginner in python can anyone explain me , how have they input 2D list in Python from the user ....

    for a_i in range(n): a_t = [int(a_temp) for a_temp in input().strip().split(' ')] a.append(a_t)