<human>:  check what version of Python is running
<bot>: Here is some code to check python version

sys.version_info

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.