LearnPy Hub
← Dictionaries problems
Easy

How Many Entries?

Read pairs of key=value separated by spaces on one line. Put them in a dictionary (a later key replaces an earlier one) and print len() of it.

Input

One line.

Output

One integer.

Sample 1

Input
a=1 b=2 c=3
Output
3

Sample 2

Input
x=5
Output
1
solution.py
Output appears here
How Many Entries? · Python practice problem · LearnPy Hub