0

I cannot understand function argument variables like what is argument and variable

for e.g def something (variable) print variable+=1. =8 I cannot understand it what is it how it answers 8

13th Jul 2017, 9:33 AM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
4 Answers
0
because variable is assigned to 8 always
13th Jul 2017, 10:00 AM
Rohan Vijayvergiya
Rohan Vijayvergiya - avatar
0
whats that mean assigned
13th Jul 2017, 10:42 AM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
0
the statement is like variable =variable + 1 =8 here variable+1 and variable = 8 always than ans is 8
13th Jul 2017, 11:29 AM
Rohan Vijayvergiya
Rohan Vijayvergiya - avatar
0
why is it 8 plz define
13th Jul 2017, 11:37 AM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar