+ 5
Are there more ways to do this?
To get the version of python. Are there more ways to get the version of Python ? This is my way!! https://code.sololearn.com/crTH5h7O5tlG/?ref=app
10 Respostas
+ 6
https://code.sololearn.com/cYW0nVSOFufJ/?ref=app
+ 5
K.S.S. Karunarathne (Active Challenger) maybe this might interesting you
https://code.sololearn.com/c20FpE7gTXze/?ref=app
+ 5
K.S.S. Karunarathne (Active Challenger) here is another I just tossed together .. real short and simple
https://code.sololearn.com/c51c6PZQJLiG/?ref=app
+ 4
+ 3
Nishit Katole 33 VII C This isn't a way to get it.
+ 2
Nishit Katole 33 VII C Ofcourse 😂😂😂
+ 2
Thanks BroFar sir
+ 1
Alright, but if you know the version then you can do that
0
Or if you like one line codes
print(f"Python version: {__import__('sys').version}")