LearnPy Hub
← Matplotlib Charts problems
Medium

Line Style

Read a colour name and a marker character, plot the values 1 2 3 with them, and print the line's colour, marker and linestyle using get_color(), get_marker() and get_linestyle().

Input

A colour, then a marker.

Output

Three lines.

Sample 1

Input
red
o
Output
red
o
--

Sample 2

Input
green
s
Output
green
s
--
solution.py
Output appears here
Line Style · Python practice problem · LearnPy Hub