You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
We are going to count the number of unique letters in a string. This mean that when we are looking at the word, any new letters should be counted and any duplicates should not be counted. We need to:
Define the function to accept one parameter -the word whose letters we are counting
Create a counter to keep track of unique letters
Loop through every letter in our alphabet string. If the current letter was found in our word, increase our count
Return the count after looping through all letters.
We are going to count the number of unique letters in a string. This mean that when we are looking at the word, any new letters should be counted and any duplicates should not be counted. We need to: