擅长:python、mysql、java
<pre><code>dimension1 = int(input("Give the dimension of the row: "))
dimension2 = int(input("Give the dimension of the column: "))
matrix = [[0 for i in range(dimension1)] for j in range(dimension2)]
for y in range(dimension2):
for x in range(dimension1):
matrix[y][x] = int(input("next value starting from (0,0) to (0,1) to at
last(dimension1,dimension2) : "))
</code></pre>