str = "asdqaknajnaqzjnanajla" sum = 0 for s in str: if s == 'a': sum += 1 print(sum)
Last updated 2 years ago
Was this helpful?