+ 2
what is arg
7 Réponses
+ 2
argument
+ 2
argument is variable and sending for function when u called function in your program
+ 2
@Lone_Wolf I haven't finished some of the tutorials you've already done..... I was a fool to accept a challenge but it was a good learning experience although I lost.... 3 times, thanks ......ooops my bad, we are executing the same tutorials. congratulations on your new badge
+ 1
its actually just a variable. you change it to any word you like.
+ 1
it's an argument
0
roll of arg in c
0
#please help me
#im undestand this code:
def test(func, arg):
return func(func(arg))
def mult(x):
return x * x #this is 2*2=4
print(test(mult, 2))