I have this 2d array in java
String[][] Orders = new String[5000][7];
How do I create this in empty 2d array of strings in python?
I have tried
Orders = [[]]
But when I go to put a value in it I get an index array out of bounds error
Orders[0][0] = 'foo'
Orders[0][1] = 'boo'
orders = [[""] * 7 for _ in range(5000)]Orders: list[list[str]] = []The type hint is not necessary.