I have list 2 which has all the items fron list 1 and x :
import random
for x in range(10):
print(random.randint(1,101))
list1 = ''
list.append(x)
list2 = list1
How can I create a set and add all the items from list 2 into a set? All the code up to this point is what I have been told to do and I have no idea how to create a set and append items to it.