Input any nos and print sum of first 2nos, product of last 2nos and average of all three nos
Answers
Answered by
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
English,
2 months ago
Environmental Sciences,
2 months ago
Math,
4 months ago
English,
4 months ago
Math,
10 months ago
Physics,
10 months ago
World Languages,
10 months ago