muhammad_nasif

TASK_09

Apr 12th, 2021 (edited)
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. exam_marks = {'Cierra Vega': 175, 'Alden Cantrell': 200, 'Kierra Gentry': 165, 'Pierre Cox': 190}
  2.  
  3. limit = input()
  4. limit = int(limit)
  5. dictionary = {}
  6.  
  7. for key,value in exam_marks.items():
  8.     if value > limit:
  9.         dictionary[key]=value
  10.  
  11. print(dictionary)
Add Comment
Please, Sign In to add comment