Set .union() Operation

  • + 0 comments

    a = int(input()) b = set(map(int, input().split())) c = int(input()) d = set(map(int, input().split()))

    e = b.union(d) count=0 for i in range(len(e)): count=count+1

    print(count)