1、数据类型
整型 浮点型 布尔型 (true false)字符串 空值 none
2、print两种方式
print '' print '','' ,连接两个字符串
3、注释 #
4、转义字符
任务
请将下面两行内容用Python的字符串表示并打印出来:
Python was started in 1989 by "Guido".
Python is free and easy to learn.
s = 'Python was started in 1989 by \"Guido\".\nPython is free and easy to learn.'
print s
5、Python中raw字符串与多行字符串
输出多行带有转义字符的字符 r''' **** ''' ****为字符