Write output of code in comment
i=0
while i<3:
print(i)
i++
print(i+1)
We're a place where coders share, stay up-to-date and grow their careers.
Write output of code in comment
i=0
while i<3:
print(i)
i++
print(i+1)
Douglas Parsons -
Rahul Jain -
Prerana Nawar -
KetanIP -
Discussion
SyntaxError
?lol I'm not a python developer, but if that's the answer to the question...
i++
isn't valid syntax in python.yes you are correct
i++
is not a valid syntax in pythonIt will give a error because there are no increment operators in python
SyntaxError
I think it's not correct