第9章 字符串和文本处理.pptx

Python程序设计实用教程;第9章字符串和文本处理;9.1字符串;9.1.1字符串的定义;s1=abc

s2=123

s3=123

print(s1,type(s1))

abcclassstr

print(s2,type(s2))

123classstr

print(s3,type(s3))

123classstr

s4=

print(s4,type(s4))

classstr;;9.1.2字符串的基本操作;【例9.1】转义符的含义与使用示例程序。

s7=Python\njava

print(s7)

s8=

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档