about | help | code help+videos | done | prefs |
Write a method called "missingCats" that accepts a string as an input parameter. That string will be at least 4 characters long and will not contain any upper-case letters. If the string starts with "cats" return the string without the "cats" at the beginning. Otherwise return the string unchanged. missingCats("cats run fast") → " run fast" missingCats("cats") → "" missingCats("cats are dumb") → " are dumb" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 140
Copyright Nick Parlante 2017 - privacy