i need to def a functioon that eccepts 3 parameters that are numbers and returns two values -the biggest number and the smallest number calling the function with 2,3,4 will return 2 4 etc dbut I am not allowed to use the max eval and min functoins so i wrote this *
*def max_and_smallest(num1,num2,num3):
if num1>=num2 and num2>=num3:
return num1, num3
elif num2>=num1 and num1>=num3:
return num2, num3
elif num3>=num2 and num2>=num1:
return num3, num1**"
but it doesnt cover all the option such as if numbers in function calling are 2,1,2 what options i need to write to cover all?