摘要:
#1.切片操作 左闭右开 s='Hello word' print(s[0:5]) #2.更新字符串 s1='hello word' s2='python' print(s1[0:6]+s2) #3.代表在里面 not in不在里面 print(s2 in s1[0:6]+s2) #4.回车 \r: 阅读全文
posted @ 2020-01-08 11:00
忙忙碌碌但一无所获
阅读(178)
评论(0)
推荐(0)
浙公网安备 33010602011771号