generate functionTue, 07 Feb 2023

The department has 3 employees who receive wages in rubles. It is required to determine how much the salary of the highest paid of them differs from the lowest paid.

def salary(first, second, third): return max(first, second, third) - min(first, second, third) salary(12000, 10000, 5000)

Want to kickstart your project?Use the new AI Studio to create your code