Is there any way to do this javascript code in python syntax:
var x = 1; x++;
without:
x=1 x=x+1
No, in Python you can only do this:
x += 1
or in alternative
x = x+1