带引号的内容就是字符串. 在 python 中,字符串可以乘上⼀个整数, 字符串 * num1.2 字符串的输出和输出
# 输⼊ input() input() 函数得到的内容就是字符串 # 输出 print() 函数 %s f-string1.3 下标 1.4 切⽚
my_str[:] 得到和原来⼀样的字符串 my_str[::-1] 字符串的逆置
find() & rfind()
index & rindex()
count()1.6 字符串替换⽅法 replace 1.7 字符串分隔 split()
1.8 字符串连接 join()



