Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

2 positional arguments but 3 were given

#Positional arguments are the amount of arguments passed through a function
#For example

def function(value1, value2):
	print(value1)
	print(value2)

function("value1","value2","value3")
 
PREVIOUS NEXT
Tagged: #positional #arguments
ADD COMMENT
Topic
Name
6+4 =