Login and get coding
Here is a Bite to practice the
breakstatements in Python.
filter_namesthat takes a
listof names and returns a filtered
list(or generator) of names using the following conditions:
- names that start with
- names that have one or more digits are ignored,
- if a name starts with
QUIT_CHARit inmediately exits the loop, so no more names are added/generated at this point (neither the
- return up till
Good luck and keep calm and code in Python!
365 out of 368 users completed this Bite.
Will you be Pythonista #366 to crack this Bite?
Resolution time: ~36 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.14 on a 1-10 difficulty scale.
» You can do it! 😌