Possible Duplicate:
Why there are no ++ and — operators in Python?
++i
is legal. But it's the unary + operator.
And i++
is illegal.
Why Python decides not support the ++
operator in normal way?
Possible Duplicate:
Why there are no ++ and — operators in Python?
++i
is legal. But it's the unary + operator.
And i++
is illegal.
Why Python decides not support the ++
operator in normal way?