diff --git a/2-D matrix.py b/2-D matrix.py new file mode 100644 index 0000000..b836393 --- /dev/null +++ b/2-D matrix.py @@ -0,0 +1,6 @@ +# Input for row and column +# R = int(input()) +# C = int(input()) + +# Using list comprehension for input +matrix = [[int(input()) for x in range (C)] for y in range(R)] \ No newline at end of file