# Python list count() Method · # Creating a list · apple = ['a','p','p','l','e'] · # Method calling · count = apple.count('p') · # Displaying result · print("count of ...
確定! 回上一頁