擅长:python、mysql、java
<p><code>vibes</code>可能是字典。你想要的是每个哈希键的等级,所以你可以做一些类似的事情</p>
<pre><code>for hashkey, vibe_dict in dict['vibes'].items(): # dict is a Python keyword, so it's a bad choice for a variable!
print(hashkey, vibe_dict['rating'])
</code></pre>