[Solved] ++ operator ?

saw this example and wondering how to make it work in latest python ?

i = 1

for item in list :
for list[i] in string :
string.replace(list[i], replacewith)
i++

print (‘list =’,list )
print ()

what is this ++ thing?

thanks

short
i = i + 1

strange, because it doesn’t work in python :wink:

I got example fr0m stack !
but did not find that thread !

thanks

Python supports i = i + 1 and the shorthand i += 1, but not i++, because the creator believes it being too cryptic and thus not pythonic

there are so many other things in python that are cryptic !LOL

thanks