Post

@PythonPr If written exactly like this: no output. The print() is inside the function after return, so it never executes.
If intended:
def soma(*args):
return sum(args)
print(soma(1, 2, 3, 4))
English

@PythonPr I form just starting and your quiz hard
Because
my study today python
day 1 - variable & data types
English

@PythonPr output == Nil. With the print statement inside the def nothing gets printed.
English

@PythonPr Any statement after return will not execute
hence the function never gets call
output will be blank
If print is outside
Output will be 10
English









