LearnPy Hub
← Matplotlib Charts problems
Easy

Count the Bars

Read category names on one line and values on the next. Draw a bar chart and print the number of bars it has.

Input

Two lines of the same length.

Output

A count.

Sample 1

Input
A B C
3 5 2
Output
3

Sample 2

Input
X
9
Output
1
solution.py
Output appears here
Count the Bars · Python practice problem · LearnPy Hub