5 Réponses
+ 6
Use version 3.
+ 1
3.5.1
import sys
print('.'.join(str(x) for x in sys.version_onfo[:3]))
0
try
print "1" works for 2
print("1") works for 3
0
thanks
0
I wrote a python script to get information. It was just a test:
https://code.sololearn.com/cyJejJ360wYL/?ref=app