Why the version of python is 2.7 in Editorial and solution for this
namnium1125 last edited by
Thank you for look.
I'm Japanese. So I might write some wrong English. then, please excuse me.
>>> a = 1 >>> b = 2 >>> >>> print(a,b)
When I run this code, I thought I would get the result like this:
but in fact, I got this result:
then, I thought I got it simply because the version of python is 2.7 and print statement output tuple
And I tryed this code:
import sys print(sys.version)
2.7.12 (default, Nov 20 2016, 12:12:11) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]
My thought was correct. but...
The version in Pythonista3 is 3, but Why in the world is the version of python in Editorial 2.7?!
And I want use Python 3.x in Editorial.
If you know somethings about this, could you tell me?