2
Hello everybody all right? First I want to say that it is a pleasure to be part of this community. I’m studying python on my own, I found a course per application, I’m already in the functions part but I didn’t understand the syntax of the command correctly. I would like to do something simple, implement a summation function and a function to test the sum, just for didactic purposes. But my code shows nothing on the screen, follows:
def soma (x, y):
return (x + y)
def testa_soma():
if (soma(10, 20) == 30):
print ('correto')
Thank you very much, guys!!
– Leandro Sargi