title: Swift 3 : Error: Type 'Any' has no subscript member
body: <p>I updated to Swift 3 and I get this error and I can't solve it.</p>
  <blockquote>
  <p>Type 'Any' has no subscript member</p>
  </blockquote>
  <p>I already read the answers:</p>
  <p><a href="https://stackoverflow.com/questions/39480150/type-any-has-no-subscript-members-after-updating-to-swift-3">39480150</a> - <a href="https://stackoverflow.com/questions/38956785/type-any-has-no-subscript-members">38956785</a> - <a href="https://stackoverflow.com/questions/39516199/type-any-has-no-subscript-members-in-xcode-8-swift-3">39516199</a></p>
  <p>But I couldn't solve my problem with the answers.</p>
  <p>This is my code:</p>
  <pre><code>let pathperdataselezionata = Bundle.main.path(forResource: &quot;Annuale&quot;, ofType: &quot;plist&quot;)
  let dictperdataselezionata = NSDictionary(contentsOfFile: pathperdataselezionata!) as![String:AnyObject]
  let valoridataodierna = dictperdataselezionata[annoscelto]?[mesescritto]?![daymonth?] as? [Double]
  let Grad = Int(valoridataodierna![0])
  let Ampo:Double = valoridataodierna![1]
  </code></pre>
  <p>And I get the error on the line:</p>
  <pre><code>let valoridataodierna
  </code></pre>
  <p>Any help is really appreciated.</p>
  <p>Thanks.</p>