打印python2和python3的区别

【python系列】SyntaxError:Missing parentheses in call to 'print'

如上图所示,我的 PyCharm安装的是python3.6如果使用print 10会出现语法错误,这是python2.x和python3.x的区别所导致的。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2021-12-19
  • 2021-08-16
相关资源
相似解决方案