Questionname = "Adrika"print(name.count("a"))# Note: count method should work as case insensitive Solutionname = "Adrika"name = name.upper() # OR name = name.lower()print(name.count("A")) # print(name.count("a")
Post a Comment