笨辦法學Python筆記-習題1:第一個程序

習題1:第一個程序 運行python  test1.py報錯:python SyntaxError:Missing parentheses in call to 'print'linux 修改後:windows 運行結果:spa 問題緣由:Python3與Python2的區別在於使用print時須要添加()。小白一枚orm Ps:Python中的print不區分單引號和雙引號,單引號中的雙引號或者
相關文章
相關標籤/搜索