Question: How do I do this in Python? Create a 2D list so that the output is the same as the test case! Remember, when we
How do I do this in Python?

Create a 2D list so that the output is the same as the test case! Remember, when we iterate over a 2D list like list_2D, each element will be a list. Note: there is no input for this code challenge. Only list_2D will be considered. Sample Input: Sample Output: [1, 2, 3] [4, 5, 6] [7, 8, 9] Write a program, test using stdin stdout Correct answer from 196 learners Total 66% of tries are correct Incorrect. Failed. Wrong answer This is a sample test from the problem statement! Test input: Correct output: Your code output: Hide Debug your code with your own inputs! Time limit: 15 seconds Memory limit: 256 MB All you need to do is create the 2D list here, you don't need to write any other code! 1 # define list_2D here. 2 list_2D = []
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
