Program - Returns the number of times the specified element appears in the list
Topic: Program - Returns the number of times the specified element appears in the list
Solution
vowels = ['a', 'e', 'i', 'o', 'i', 'u'] count = vowels.count('i') print('The count of i is:', count)
List all Python Programs