LearnPy Hub
← Matplotlib Charts problems
Easy

Several Lines

Read n, then n lines of y values. Plot each as its own line on one axes and print len(ax.get_lines()).

Input

n, then n lines.

Output

A count.

Sample 1

Input
2
1 2 3
3 2 1
Output
2

Sample 2

Input
1
5
Output
1
solution.py
Output appears here
Several Lines · Python practice problem · LearnPy Hub