Set .union() Operation

  • + 0 comments

    Hector Gonzalez

    eN = int(input()) #English subscriptions EList = set(map(int, input().split())) #English Students fN = int(input()) #Fremch Subsriptions FList = set(map(int, input().split())) #French Students

    allList = EList.union(FList)

    print(len(allList))