You are viewing a single comment's thread. Return to all comments →
Also how come support python2 only, not python3
How does it matters? it's the same code.
Btw, it's intended to be tutorial for Python2 , after that it's expected from you to see python3 syntax.
Actually, its because the method "raw_input" was deprecated in Python 3. That's why the first Python excercise (without raw_input) gave you the choice of Python 2 or Python 3. In Python 3, raw_input was replaced with the basic input() method. These excercises, if done with Python 3, would either make you classify and convert the input to a boolen, int, float etc. because input() always produces a string, or the excercises would require you to go in depth and use the sys module to read from system input.
Another thing, you can use Python3. You just need to switch it from Python2 to Python3 in the editor!