0
All about 2d list?
What are 2d list and how can I take a 2d list as input?
3 RĂ©ponses
+ 1
lst = [ ]
n = int(input("Enter number of elements : "))
 Â
for i in range(0, n):
    ele = [input(), int(input())]
    lst.append(ele)
     Â
print(lst)
+ 1
Yes
0
đżđđ đČđđđđ đŸđđđ so 2d list is basically like list in list