LearnPy Hub
← Matplotlib Charts problems
Medium

Axis Limits

Plot the values, then set the y-axis limits to 0 and the given maximum. Print ax.get_ylim() as two ints.

Input

A line of integers, then a maximum.

Output

Two numbers.

Sample 1

Input
1 5 3
10
Output
0 10

Sample 2

Input
7
100
Output
0 100
solution.py
Output appears here
Axis Limits · Python practice problem · LearnPy Hub