python SyntaxError: invalid syntax问题
环境Python3.6IDE:Pycharmdefprint_lyrics():print('HeyJude,')print("Don'tMakeitbad.")defr...
环境Python 3.6 IDE:Pycharmdef print_lyrics(): print ('Hey Jude,') print ("Don't Make it bad.")def repeat lyrics(): print_lyrics() print_lyrics()repeat_lyrics() 结果:line 5 def repeat lyrics(): ^SyntaxError: invalid syntaxProcess finished with exit code 1
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询