+ 1
When to use in place operators?
When would I create a code like this >>> x=3 >>> x+=4 >>> print(x) 7 When I could just do it like this >>> x=3 >>> x+4 7
1 Resposta
+ 7
When you will need x to be incremented ,but you don't wanna print it out.
When would I create a code like this >>> x=3 >>> x+=4 >>> print(x) 7 When I could just do it like this >>> x=3 >>> x+4 7