擅长:python、mysql、java
<p>使用<code>for</code>循环:</p>
<pre><code>for element in data['features']:
print(element['properties']['cellId'])
</code></pre>
<p>或者,如果要存储这些内容而不是单独打印,请使用列表理解:</p>
<pre><code>cell_ids = [element['properties']['cellId'] for element in data['features']]
print(cell_ids)
# [38, 51]
</code></pre>