0
how to use increment and decrements operators ?
while counter<=index: y=x[counter] print(y+'!') counter++ SyntaxError: invalid syntax
2 Antworten
+ 2
Is this Python? Python does not support prefix/postfix increment/decrement operators. Do
counter+=1
instead.
0
thnks