Set .add()

  • + 0 comments

    `

    a=[input()for i in range(int(input()))]

    print(len(set(a)))

    `