Write a program take three numbers from the user input them and find their sum and product
Answers
Answered by
5
Explanation:
def sum_thrice(x, y, z):
sum = x + y + z
if x == y == z:
sum = sum * 3
return
sumprint(sum_thrice(1, 2, 3))
print(sum_thrice(3, 3, 3))
ᕼOᑭᗴ IT ᕼᗴᒪᑭՏ YOᑌ
#Aʟᴍᴀs
Answered by
4
Answer:
Code for Python Language
Explanation:
a=int(input("Enter number 1:"))
b=int(input("Enter number 2:"))
c=int(input("Enter number 3:"))
sum=a+b+c
product=a*b*c
print(sum)
print(product)
Similar questions