@@ -0,0 +1,495 @@
+# Define a procedure, union,%0A# that takes as inputs two lists.%0A# It should modify the first input%0A# list to be the set union of the two%0A# lists. You may assume the first list%0A# is a set, that is, it contains no %0A# repeated elements.%0A%0Adef union(xs, ys):%0A    for y in ys:%0A        if y not in xs:%0A            xs.append(y)%0A    return xs%0A%0A# To test, uncomment all lines %0A# below except those beginning with %3E%3E%3E.%0A%0A#a = %5B1,2,3%5D%0A#b = %5B2,4,6%5D%0A#union(a,b)%0A#print a %0A#%3E%3E%3E %5B1,2,3,4,6%5D%0A#print b%0A#%3E%3E%3E %5B2,4,6%5D%0A

Create 10.py