Set .union() Operation

  • + 0 comments

    english = int(input()) english_std = set(list(map(int, input().split()))) france = int(input()) france_std = set(list(map(int, input().split()))) print(len(english_std.union(france_std)))