Set .add()

  • + 0 comments

    x=int(input()) y=set() for n in range(x): y.add(input())

    print(len(y))