Set .add()

  • + 0 comments
    n= int(input())
    print(len(set([input() for _ in range(n)])))