Set .add()

  • + 0 comments
    n= int(input())
    a = set()
    
    for i in range(n):
        a.add(input())
    
    print(len(a))