How to define an empty 2 dimensional list instead of data = [["",""],["",""],["",""],["",""]]
lis = [[] for _ in range(3)]
try it
How to define an empty 2 dimensional list instead of data = [["",""],["",""],["",""],["",""]]
For larger number of elements