Set .add()

  • + 0 comments

    s = set() for i in range(int(input())): s.add(input())

    print(len(s))