Python: frozensets comparison

后端 未结 1 813
误落风尘
误落风尘 2021-01-25 04:49

consider the following script:

# multipleSmallFrozensets is a list of 7 frozensets of differenet number of string objects
multipleSmallFrozensets = [
    frozens         


        
相关标签:
1条回答
  • 2021-01-25 05:47

    Set operator <= is equivalent to the .issubset() method. A <= B is true if and only if each element of A also belongs to B.

    0 讨论(0)
提交回复
热议问题