def cal1(x,y,z):
sum1=x+y+z
pro1=x*y*z
return sum1,pro1
a=int(input(' Enter a : '))
b=int(input(' Enter b : '))
c=int(input(' Enter c : '))
s,p=cal1(a,b,c)
print(s,p)
def cal1(x,y,z):
sum1=x+y+z
pro1=x*y*z
return sum1,pro1
a=int(input(' Enter a : '))
b=int(input(' Enter b : '))
c=int(input(' Enter c : '))
s,p=cal1(a,b,c)
print(s,p)
0 Comments