# initializing string test_str = "Grepper Answer" # using count() to get count # counting e counter = test_str.count('e') >> 3
# Example usage: your_string = "Example usage" len(your_string) --> 13
# Count number of characters in a string (word) a = "some string" print len(a) # 11
a = "some string" print (len(a)) # 11