LearnPy Hub
← Tuples & Sets problems
Easy

Is It a Subset?

Read two lines of words. Print True if every word of the first line is also in the second, using issubset().

Input

Two lines.

Output

True or False.

Sample 1

Input
a b
a b c
Output
True

Sample 2

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