You are viewing a single comment's thread. Return to all comments →
s=int(input()) s1=set() count=0 for i in range(s): ctry=input() s1.add(ctry) for x in s1: count+=1 print(count)
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 →