Using GPT and your own ideas, here is an example of possible Python code for removing duplicate elements from list1 and list2 and storing the results in list3:
import random
# 随机生成list1和list2
list1 = random.sample(range(1, 121), 120)
list2 = [random.choice(range(-20, 21, 2)) for _ in range(120)]
# 去重
list3 = list(set(list1 + list2))
# 输出结果
print(list3)
This code example uses Python's random module to generate two lists, list1 and list2, then concatenates them into a single large list, deweights them using the set() function, and finally stores the deduplicated result in list3 and prints it using the print() function.