课程
/后端开发
/Python
/初识Python
s = 'Python was started in 1989 by \"Guido\".'\nPython is free and easy to learn.'print s
这样写为什么不能通过呢?
2015-09-05
源自:初识Python 3-5
正在回答
s = 'Python was started in 1989 by \"Guido\".\nPython is free and easy to learn.'
print s
排列成一行,不要断开
\n前多了个单引号
'Python was started in 1989 by "Guido".\nPython is free and easy to learn.'
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号