about | help | code help+videos | done | prefs |
countFs
countFs(phrase) -- Given a string phrase, return the total number of "f" and "F" in the phrase. (People generally get some of these wrong because not everything that is an "f" sounds like one out loud, but computers are great at this.) countFs('Finished files are the result of years of scientific study combined with the experience of years.') → 6 countFs('Python is fun.') → 1 countFs('Python is cool.') → 0 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy