+ 1
what's the problem?š¢š¢ this program doesn't have output.why?
5 Answers
+ 3
def add(x,y):
return x+y
print(add(3,5))
#or this one
def qq(e,r):
qq=e+r
return qq
print(qq(5,3))
#now how can I use return?!!
0
Return keyword just return the value in this case qq , it doesn't print anything..........
You can use print(qq) to see the returned value
0
OK, but what about add function?
0
Hoda use this code
0
yes now I understand.
thank you so much
ā¤ā¤