and count the number of times the character “a” appears: print(ss.count("a")) ... Let's try str.count() with a sequence of characters:.
確定! 回上一頁