code: def compiler_version():
      
      version_info = subprocess.check_output(['solc', '--version'])
      match = re.search(b'^Version: ([0-9a-z.-]+)/', version_info, re.MULTILINE)
  
      if match:
          return match.group(1)
docs: Return the version of the installed solc.