We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 113. Filter words with non-ascii characters

15 out of 15 users completed this Bite ...
Will you be Pythonista #16 to crack this Bite?
Average Bite difficulty 1-10 rating: 1.0
» You can do it! 😌

In this Bite you extract words from a text that contain non-ascii characters. So Fichier non trouvé would return a list of one matching word: ['trouvé'].

Calling extract_non_ascii_words with He wonede at Ernleȝe at æðelen are chirechen it returns: ['Ernleȝe', 'æðelen'], etc.

See the tests for more. Have fun!

Github login button