You are viewing a single comment's thread. Return to all comments →
N = int(input()) l =[] for i in range(N): l.append(input()) l_rev = l[::-1] print(l_rev)
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →