Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scores = {
- "Rick Sanchez": 70,
- "Morty Smith": 35,
- "Summer Smith": 82,
- "Jerry Smith": 23,
- "Beth Smith": 98
- }
- passed = [name for name in scores if scores[name]>65]
- print(passed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement