Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 509 Bytes

File metadata and controls

6 lines (6 loc) · 509 Bytes

Online on Python

Question

  1. Define a dictionary of students with name as key and grade as value. Add three to five entries. Now pass the dictionary to a function. The function should generate a list containing all the names only who have scored more than 60. Finally return the newly generated list from the function. And print the returned list outside. [10]
  2. Create a numpy array of integers with five rows and four columns. And be prepared to do the tasks you will be asked to do during viva. [10]