• Set.union(other, …) yoki |other|…
  • Set.copy
  • Buxoro davlat universiteti




    Download 0,96 Mb.
    bet36/48
    Sana22.03.2021
    Hajmi0,96 Mb.
    #13391
    1   ...   32   33   34   35   36   37   38   39   ...   48
    Set.isdisjoint(other)-agarda set va other umumiy elementlarga ega bo`lmasalar rost qiymat qaytaradi.

    Set==other- set ning hamma elementlari otherga tegishli bo`ladilar otherni hamma elementlari setga tegishli bo`ladilar.

    Set.issubset(other) yoki set<=other-set ning hamma elementlari other ga tegishli bo`ladilar.

    Set.issuperset(other) yoki set>=other-analogik holat.

    Set.union(other, …) yoki |other|…-bir qancha to`plamlar birlashmasi.

    Set.intersection(other, …) yoki &other&…- kesib olish.

    Set.difference(other, …) yoki -other-…-other ga tegishli bo`lmagan set ning hamma elementlar to`plami.

    Set.symmetric_difference(other); set^other- birinchi to`plamda uchraydigan, lekin ularning ikkala to`plamning kesishmasida uchramaydigan elementlar.

    Set.copy-to`plam nusxasi

    To`plamni to`g`ridan-to`g`ri o`zgartiradigan operatsiyalar


    Download 0,96 Mb.
    1   ...   32   33   34   35   36   37   38   39   ...   48




    Download 0,96 Mb.