Login and get codingHere is a Bite to practice the
continue
andbreak
statements in Python.Complete
filter_names
that takes alist
of names and returns a filteredlist
(or generator) of names using the following conditions:
- names that start with
IGNORE_CHAR
are ignored,- names that have one or more digits are ignored,
- if a name starts with
QUIT_CHAR
it inmediately exits the loop, so no more names are added/generated at this point (neither theQUIT_CHAR
name),- return up till
MAX_NAMES
names max.Good luck and keep calm and code in Python!
393 out of 396 users completed this Bite.
Will you be the 394th person to crack this Bite?
Resolution time: ~35 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 2.14 on a 1-10 difficulty scale.
» You can do it! 😌