擅长:python、mysql、java
<p>你演示的是一个矩阵,它由一个列表组成。</p>
<p>可以使用行和列的索引访问元素:</p>
<pre><code>>>> matrix[0] # This will return the 0th row
['username', 'name', 'password']
>>> matrix[0][1] # This will return the element from row 0, col 1
'name'
</code></pre>