LearnPy Hub
← Matplotlib Charts problems
Easy

Markers on a Line

Read a marker symbol (like o, s or ^) and y values. Plot them with that marker and print line.get_marker() and the number of points.

Input

Marker; then y values.

Output

Two lines.

Sample 1

Input
o
1 2 3
Output
o
3

Sample 2

Input
s
5
Output
s
1
solution.py
Output appears here
Markers on a Line · Python practice problem · LearnPy Hub