Tuples and Tuple Methods

  1. Tuple and Operations

    Question 1 of 1

      Store Employee's salary as: (20000, 25000, 30000) and name as ('Rabindra', 'Bob', 'Charlie')
      1. Find and display total number of employees
      2. Find and display total, average, highest and lowest salary of employees
      3. Name of employee with highest salary
      4. Name of employee with lowest salary
      5. Number of employees with salary 25000
      6. Update salary at index 1 to 35000 and display updated salary tuple
      7. Unpack employee name and salary tuples into separate variables and display them
      8. zip employee name and salary tuples into a single list of tuples and display it