python(字符串str,練習題)

一、字符串的定義 a = 'hello' b = "westos" c = 'what\'s' d = "what's" e = """ 用戶管理系統 1.添加用戶 2.刪除用戶 3.顯示用戶 ..... """ #查看 print(e) print(type(e)) 二、字符串的特性 1.字符串 索引 的概念: 例: s = ‘hello’ 索引:0 1
相關文章
相關標籤/搜索