I have to write some algorithm in pseudocode for a paper. For this I have the "$ \leftarrow$ " to assign a value.
$ x \leftarrow y^2$
now I want to write a method which adds to the variable. In normal Python code I would write
x += 1 for this. Is there a style convention how to layout this in pseudo-code in a paper? I dont really like the redundance of $ x \leftarrow x+1$ .