On the previous post you have installed python latest version 3.6.0 version in Ubuntu or Linuxmint, this post describes how do you check the Python version using simple python scripts.
import platform
platform.python_version()
or
import platform
print(platform.python_version())
For example, check with below commands,
$ sudo python3.6
>>> import platform
>>> platform.python_version()
'3.6.0'
Comments (0)