python 中的字符串

一.字符串的定义方式 a = "hello" b = 'westos' c = "what's up" d = """     用户管理 1.添加用户 2.删除用户 3.显示用户 """ print a print b print c print d   二.字符串的搜索和替换   代码: s = 'hello world' #print len(s) # find找到字符串 并返回最小的索引 p
相关文章
相关标签/搜索