LearnPy Hub
← Pandas: DataFrames problems
Medium

Summary Numbers

Print the min, max and median of credits on one line, as integers or floats as pandas gives them (convert with float() and print with 1 decimal).

Input

Lines 'name dept cgpa credits', then END.

Output

One line.

Sample 1

Input
Mim CSE 3.82 120
Rafi EEE 3.41 98
Sara CSE 3.95 132
Tuhin BBA 3.60 110
Nadia CSE 3.71 125
END
Output
98.0 132.0 120.0

Sample 2

Input
A CSE 3.00 100
END
Output
100.0 100.0 100.0
solution.py
Output appears here
Summary Numbers · Python practice problem · LearnPy Hub