Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

10.4.1.3. return Terminates Function Execution


def print_nums(x):
for i in range(x):
    print(i)
return 

print_nums(10)

Source by codefantasy.org #
 
PREVIOUS NEXT
Tagged: #return #Terminates #Function #Execution
ADD COMMENT
Topic
Name
5+7 =