等於符號 ( = ) 可以用於為變數賦值。 ... word = 'Python' >>> word[0] # character in position 0 'P' >>> word[5] # character in position 5 'n'.
確定! 回上一頁