Set .difference() Operation

  • + 0 comments

    n=int(input()) n_student=set(map(int, input().split())) b=int(input()) b_student=set(map(int, input().split())) student_difference = n_student - b_student print(len(student_difference))