Set .add()

  • + 0 comments

    n =int(input()) s=set() for i in range(n): t=input()
    s.add(t) print(len(s))