type any? has no subscript members
<p>I want to get Addresses from profile dictionary,but I got the error "type any? has no subscript members"</p>

<pre><code>var address:[[String : Any]] = [["Address": "someLocation", "City": "ABC","Zip" : 123],["Address": "someLocation", "City": "DEF","Zip" : 456]]
var profile:[String : Any] = ["Name": "Mir", "Age": 10, "Addresses": address]
profile["Addresses"][0]     &lt;-----------------type any? has no subscript members
</code></pre>

<p>How can I fix it and get the address? Thanks a lot.</p>