上述程式碼的前 2 列是建立字串,最後 1 列是建立字元(即 1 個字元的字串),然後使用 print()函數輸出字串變數值,如下: print(str1) print("str2: ", str2) print(ch1) ...
確定! 回上一頁