Tags
python
Asked 3 years ago
5 Aug 2021
Views 240
Arnaldo

Arnaldo posted

Can I use ++ in Python ?

Can I use ++ in Python ?
sachin

sachin
answered Aug 8 '21 00:00

no, you can't use ++ in Python

suppose if you use ++ in code , it will generate invalid syntax

    i++
      ^
SyntaxError: invalid syntax

jagdish

jagdish
answered Sep 19 '21 00:00

there is no ++ in Python.
jaman

jaman
answered Sep 19 '21 00:00

++ (double plus) is an arithmetic operator to +1 in many languages. but the ++ operator clound not be used.
Post Answer