DEV Community

loading...

Discussion on: What will be the output of given code?

Collapse
thomasmatecki profile image
Thomas Matecki

SyntaxError?

Collapse
jennrmillerdev profile image
Jen Miller

lol I'm not a python developer, but if that's the answer to the question...

Collapse
thomasmatecki profile image
Thomas Matecki

i++ isn't valid syntax in python.

Thread Thread
lakshyatyagi24 profile image
Lakshya Tyagi Author

yes you are correct i++ is not a valid syntax in python