课程
/后端开发
/Python
/初识Python
s = ‘python was stareted in 1989 by \"guido\".\npython is free and easy to learn.'
2017-04-02
源自:初识Python 3-5
正在回答
正确如下:
s = 'python was stareted in 1989 by \"guido\".\npython is free and easy to learn.'
你写的赋值语句问题:
1,等号后面有不是空格的特殊字符
2,第一个单引号是中文类型的单引号
行云不落 提问者
单词写错了,started才对,还有"guido"左右不用加\,纠正如下:
s = 'python was started in 1989 by "guido".\npython is free and easy to learn.'
print s
举报
学python入门视频教程,让你快速入门并能编写简单的Python程序