Extract data · Easy
Collect the hashtags
A social media post may contain hashtags.
Task
Write a prompt that lists the hashtags.
Output format
#tag1 #tag2 …
- Lower case, each one once, in the order they first appear, separated by single spaces.
- If there are none, return NONE.
Your prompt must contain {input}: it is replaced by each test case, just like the hidden tests in a hiring test.
Sample case 1
Input
Loving the sun #Summer #beach
Output
#summer #beach
Sample case 2
Input
#Travel tips! #travel #TRAVEL #food
Output
#travel #food
There are 4 test cases in all; the others are like hidden tests: work out what tricky inputs they might use!