+ 13
Operators
x = 4 x *=3 print(x) What is the answer I probably will figure it out before anyone’s answers
4 Antworten
+ 14
Ans will be 12 ,
becase x*=3 means x=x*3 .
+ 4
These are shorthand expression, like x=x+1 can be written x+=1, in your scenario x=x*3, 4*3=12.
+ 1
x *=3 is equal to x = x * 3
So x = 4*3 . .
Output: 12
+ 1
x*=3 means x=x*3
therefore output is 12