Probably a simple question:
python script:
c = set(a).intersection(b)
print c…set([35])
I have a set with one value.
How do i get this value out of the set? >
Thats what i want:
c = 35
Probably a simple question:
python script:
c = set(a).intersection(b)
print c…set([35])
I have a set with one value.
How do i get this value out of the set? >
Thats what i want:
c = 35
list(c)[0]
#or
c.pop()
?
both are working!
Thanks a lot!