Replace the dots with membership operators so that the output result would always be True.
Operations with dictionary
Dictionary membership
Report a typo
Write a program in Python 3
sidekicks = {'Don Quixote': 'Sancho Panza', 'Batman': 'Robin', 'Holmes': 'Watson'}
print('Sancho Panza' ... sidekicks)
print('Batman' ... sidekicks)
print('Han Solo' ... sidekicks)
print('' ... sidekicks)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.