+ 1
how i use & function on lists
do i need to import somthing because print(a&b) dont work
6 ответов
+ 1
Sorry I don't know how to do that with lists. You may want to check the chapter on sets or regular expressions maybe that helps
0
print([a, b])
Or
print(str(a)+str(b))
0
Like what exactly do you want to do?
0
i remeber there was alot of options like the objects that were not in both list or object that in both lost in what class i find it?
0
sets that what i meant thank you!
- 1
first you have to declare a function and then function calling should be done in order to invoke the function