Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to use return python

def function():
	x = "random"
    print("random")
    return x
  
a = function() #Runs line 3, makes a the return value ("random")
Source by careerkarma.com #
 
PREVIOUS NEXT
Tagged: #How #return #python
ADD COMMENT
Topic
Name
1+5 =