Swift Apprentice Chapter 9 bug?

I started working on Chapter 9 and immediately came across the following:

Page 140 its describing printing the value of Anna in the dictionary namesAndScores

print(namesAndScores["Anna"])

When execute this in the playground I get an error warning:

Expression implicitly coerced from 'Int?' to Any

There is no mention of this issue in the book.

So is this a bug?

The warning appears because you are trying to print an optional value to the console: dictionary values are optionals under the hood since they can be nil if their corresponding and associated keys donโ€™t exist in the dictionary after all. As a workaround, unwrap the optional value before printing it out in order to silence the error and make it disappear once and for all.