编辑代码
Python代码
3.11.0
2.7.17
运行
# 方法一
import
platform
print
(platform.python_version())
# 方法二
# import sys
# print(sys.version)