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
Read the /sys/data/englishWords.txt, and count the number of 5-letter words therein.
Hints
You'll need to use the file module to read all lines of the file. The result will be a list, which you can iterate over with a for loop. Check the length of each string using len, and if that length is 5, add 1 to a counter.