pystr = 'Python'#字串變數初始化. iscool = 'is cool!'#字串變數初始化. print(pystr[0])#印出第一個字元. print(pystr[2:5])#印tho.
確定! 回上一頁