To get the length of a string, we use the len() function: >>> len("Hello Wikibooks!") 16 ... To get the ASCII code of a character, use the ord() function. > ...
確定! 回上一頁