Is data one of the values?

Code review · Medium · §4.3 Looking inside dictionaries

This code tries to check whether "data" is one of the values in the dictionary. It runs without errors, but it prints False. Fix it so that it prints True.

Code to fix

print("data" in {"topic": "data"})

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.