Create a Python function maxsalary() that reads all records from an already…
Create a Python function maxsalary() that reads all records from an already existing file record.csv containing details of employees working in a department. The file stores data under the following fields:
E_code E_name Scale Salary
A01 Bijesh Mehra S4 65400
B02 Vikram Goel S3 60000
C09 Suraj Mehta S2 45300
... ... ... ...
The function should identify and display the complete record (row) of the employee who has the maximum salary.
Note: Assume that all employees have distinct salaries.
Attempted by 67 students.
Sign up free to check your answer
Sign up freeLoading lesson…

