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
相關文章
相關標籤/搜索