Header Ads

Responsive Ads Here

Print Vs Return

 Print Vs Return



def add_three(a,b,c):
    print(a+b+c)
   
sum_three = add_three(2,3,5)
print(sum_three)



def add_three(a,b,c):
    return (a+b+c)
   
print(add_three(2,3,5))

sum_three = add_three(2,3,5)
print(sum_three)

Powered by Blogger.