text = 'She received the news of the discovery with equanimity'
Desired Output:
['She', 'received', 'the']
Question 3: (3 marks)
Write a program to extract the FPT University email addresses present in the text.
Input:text = 'Please contact us at
[email protected] for further information. You can also give feedback at
[email protected]'
Output:
['
[email protected]']
Question 4: (3 marks)
Write a function that takes a list of words (containing duplicates) and returns a list of words (with no duplicates) sorted by ascending frequency.
Input:
+ 100%
Zoom
Close