Hello everyone, how are you? First of all 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 did not understand correctly the syntax of the command. I'd like to do something simple, implement a sum function and a function to test the sum, just for didactic purposes. But my code does not display anything on the screen, it follows:
def soma (x, y):
return (x + y)
def testa_soma():
if (soma(10, 20) == 30):
print ('correto')