Please explain me in simple language what are in place operator with example? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Please explain me in simple language what are in place operator with example?

23rd Oct 2020, 5:52 AM
Ujjwal Sharma
2 Respostas
+ 4
Unlike theĀ inbuilt Python operatorsĀ &Ā operator functions, the Inplace operator functions perform computation & assignment in a single statement. For example, the standard operator functions likeĀ add (),Ā mul ()Ā etc take twoparameters, perform the operation of them & return the resultant. TheĀ operatorsĀ which helps to do the operation is called in-place operator. ...Ā Eg: a+= b is equivalent to a=Ā operator.iadd(a, b)Ā 
23rd Oct 2020, 6:11 AM
Alphin K Sajan
Alphin K Sajan - avatar
23rd Oct 2020, 6:19 AM
Alphin K Sajan
Alphin K Sajan - avatar