Q&A Discussions
why the code second-first print 8,9,7 and not 7,8,9?
first = {1, 2, 3, 4, 5, 6}
second = {4, 5, 6, 7, 8, 9}
print(second - first) first = {1, 2, 3, 4, 5, 6}
second = {4, 5, 6, 7, 8, 9}
third={2,4,6,8,0}
fourth=([4,6,8,5])
print(first | second | third )
prin