LearnPy Hub
← Pandas: DataFrames problems
Easy

CGPA in a Range

Print the names of students whose cgpa is between 3.3 and 3.8 inclusive (use between), one line, or none.

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
Rafi Tuhin Nadia

Sample 2

Input
A CSE 3.00 100
END
Output
none
solution.py
Output appears here
CGPA in a Range · Python practice problem · LearnPy Hub