You are viewing a single comment's thread. Return to all comments →
import re pattern = r'<(\w+)>?' lst = [] for i in range(int(input())): m = re.findall(pattern, input()) for i in m: if i not in lst: lst.append(i) print(';'.join(sorted(lst)))
Seems like cookies are disabled on this browser, please enable them to open this website
Detect HTML Tags
You are viewing a single comment's thread. Return to all comments →