import sys
sys.version_info
sys.version_info.major
sys.version_info.minor
sys.version_info.major + sys.version_info.minor * 0.1