You are viewing a single comment's thread. Return to all comments →
d = set() count = 0 n = int(input()) for i in range(n): c = str(input()) d.add(c) print(len(d))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .add()
You are viewing a single comment's thread. Return to all comments →