Computer Science, asked by chiru7530, 3 months ago

Input any nos and print sum of first 2nos, product of last 2nos and average of all three nos

Answers

Answered by swastikrout1973
0

def myFunction(num1,num2,num3){

sum = num1 + num2

product = num2 * num3

average = (num1 + num2 + num3)/3

print (f"Sum: {sum}/nProduct: {product}/nAverage:{average}")

Use the above function bro

Similar questions