You are viewing a single comment's thread. Return to all 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)
Seems like cookies are disabled on this browser, please enable them to open this website
Diagonal Difference
You are viewing a single comment's thread. Return to all 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)