Set .add()

  • + 0 comments

    N = int(input()) country = set() for i in range(N): country.add(input()) print(len(country))