You will receive a sentence with words in English and Chinese as an input. Your task is to find all words in English in it. Uppercase and lowercase characters must be treated equally. Print out a list of found English words.
Regexp flags in Python
English, please
Report a typo
Sample Input 1:
"你好" means "Hello" and "再见" is "See you".Sample Output 1:
['means', 'Hello', 'and', 'is', 'See', 'you']Sample Input 2:
中国, China, England, 英国, 美国, the USASample Output 2:
['China', 'England', 'the', 'USA']Write a program in Python 3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.