| about | help | code help+videos | done | prefs |
Python > String-2 > cat_dog
prev | next | chance
| Return True if the string "cat" and "dog" appear the same number of times in the given string.
cat_dog('catdog') → True cat_dog('catcat') → False cat_dog('1cat1cadodog') → True ...Save, Compile, Run prev | next | chance | CodingBat > String-2 |
Progress graphs, just for fun:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
209.0
Copyright Nick Parlante 2006-11 - privacy