0

All about 2d list?

What are 2d list and how can I take a 2d list as input?

5th Dec 2019, 4:49 PM
Akash
Akash - avatar
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)
5th Dec 2019, 11:26 PM
$±𝐎â‚č𝔭!𝐹𝓝
$±𝐎â‚č𝔭!𝐹𝓝 - avatar
+ 1
Yes
6th Dec 2019, 4:50 AM
$±𝐎â‚č𝔭!𝐹𝓝
$±𝐎â‚č𝔭!𝐹𝓝 - avatar
6th Dec 2019, 4:46 AM
Akash
Akash - avatar