-1

I want to create a Python program which finds out the version of Python that I am using in my computer.

I tried with print() but there is no keyword in vs code that shows me anything about the version of python.

Should I implement a library?

Luis Gjoka
  • 11
  • 2

1 Answers1

0

The only way that I am aware of getting this information is through the system library. Hope this helps :)

import sys
print(sys.version)
PrestonJJ
  • 16
  • 1