I am trying to write a program to count the occurrences of a specific letter in a string without the count function. I made the string into a list and set a loop to count but th
Be careful, you are using count == count + 1, and you must use count = count + 1
count == count + 1
count = count + 1
The operator to attribute a new value is =, the operator == is for compare two values
=
==