0
Why the first one
Python uses special operator' ++'as a shortcut for which of the following? 1. none of these 2. x+=1 3. x=+1
8 Answers
+ 2
QinghuiFox that means that ++ is invalid in Python. Just like Utkarsh Sharma said.
Try out these problems yourself. You will learn a lot. You are always your best teacher. Happy codingđ
+ 3
++ is not used in python
instead of i++
There is i+=1
+ 2
Trying it out in code playground is better than guessing and asking. It's just 2 lines of code.
+ 1
Yes I did, but the answer is the first one, I don't know why the second one isn't right
0
I think the second is right
maybe it is a simple question, I am stupid
0
ok
Thanks for your help
0
The second one is not correct because is not the answer to the question. The question si about the '++' operator NOT about how can you increment by 1 in python.