LearnPy Hub
← Dictionaries problems
Easy

Is the Key There?

Read words on the first line (the keys of a dictionary, each with value 1) and a word on the second. Print True if the word is a key, using in.

Input

Two lines.

Output

True or False.

Sample 1

Input
a b c
b
Output
True

Sample 2

Input
a b c
z
Output
False
solution.py
Output appears here
Is the Key There? · Python practice problem · LearnPy Hub