#C1002. GHCSC Lesson 5 Dictionary Exercise 5
GHCSC Lesson 5 Dictionary Exercise 5
Write a function passing_students(grades) where grades is a dictionary mapping student names to scores.
Return a new dictionary containing only students who scored 60 or above.
INPUT FORMAT
First line contains an integer From the second line to the line, each line contains a name and a score , separated by a blank space
OUTPUT FORMAT
For all students who scored 60 or above, output a line contains its name and score, separated by a blank. The name should be outputed in the dictionary order.
SAMPLE
INPUT
3
Amy 95
Ben 57
Cara 78
OUTPUT
Amy 95
Cara 78