LearnPy Hub
← Regular Expressions problems
Medium

Hashtags

Print all hashtags (a # followed by letters, digits or underscores) in lower case, without duplicates, in order of first appearance.

Input

One line.

Output

One line or none.

Sample 1

Input
Loving #Python and #DataScience #python
Output
#python #datascience

Sample 2

Input
no tags
Output
none
solution.py
Output appears here
Hashtags · Python practice problem · LearnPy Hub