0

Python 2 or 3?

which python version is this?

13th Dec 2017, 7:47 PM
Umut Hope Yildirim
Umut Hope Yildirim - avatar
5 Réponses
+ 6
Use version 3.
14th Dec 2017, 12:14 AM
Eric Blinkidu
Eric Blinkidu - avatar
+ 1
3.5.1 import sys print('.'.join(str(x) for x in sys.version_onfo[:3]))
13th Dec 2017, 9:04 PM
cowboybebop98
cowboybebop98 - avatar
0
try print "1" works for 2 print("1") works for 3
13th Dec 2017, 9:01 PM
yuri
0
thanks
13th Dec 2017, 9:05 PM
Umut Hope Yildirim
Umut Hope Yildirim - avatar
0
I wrote a python script to get information. It was just a test: https://code.sololearn.com/cyJejJ360wYL/?ref=app
14th Dec 2017, 5:42 AM
Paul
Paul - avatar