Current collected state Current
Observed since 20 Oct, 21:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Library operasi himpunan untuk tugas pemrograman Python
Sebuah library Python untuk operasi himpunan (Set Operations) yang diimplementasikan menggunakan magic methods Python.
/+-*komplement())abs())**)<=, >=, //)pip install afl2-himpunan==0.1.5
from himpunan import Himpunan
S = Himpunan(1,2,3,4,5,6,7,8,9)
h1 = Himpunan(1, 2, 3)
h2 = Himpunan(3, 4, 5)
print(len(h1)) # Output: 3
print(3 in h1) # Output: True
print(h1 == h2) # Output: False
h1 += 4 # Menambah elemen 4 ke h1
print(h1) # Output: Himpunan([1, 2, 3, 4])
h3 = h1 / h2 # Irisan
print(h3) # Output: Himpunan([3, 4])
h4 = h1 + h2 # Gabungan
print(h4) # Output: Himpunan([1, 2, 3, 4, 5])
h5 = h1 - h2 # Selisih
print(h5) # Output: Himpunan([1, 2])
h6 = h1.Komplemen(S) # Komplemen
print(h6) # Output: Himpunan([5, 6, 7, 8, 9])
print(abs(h1)) # Output: 16
pypistats · 40 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-17 – 2026-10-17 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-10-13 – 2026-10-13 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-10-12 – 2026-10-12 | 10 | 2026-10-20T22:44:14.7177606Z |
| 2026-10-09 – 2026-10-09 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-10-06 – 2026-10-06 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-10-02 – 2026-10-02 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-30 – 2026-09-30 | 2 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-29 – 2026-09-29 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-27 – 2026-09-27 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-26 – 2026-09-26 | 2 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-25 – 2026-09-25 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-20 – 2026-09-20 | 12 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-14 – 2026-09-14 | 6 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-12 – 2026-09-12 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-09 – 2026-09-09 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-09-07 – 2026-09-07 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-31 – 2026-08-31 | 2 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-28 – 2026-08-28 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-27 – 2026-08-27 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-26 – 2026-08-26 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-24 – 2026-08-24 | 6 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-23 – 2026-08-23 | 3 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-21 – 2026-08-21 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-20 – 2026-08-20 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-17 – 2026-08-17 | 2 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-16 – 2026-08-16 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-14 – 2026-08-14 | 4 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-13 – 2026-08-13 | 3 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-09 – 2026-08-09 | 6 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-06 – 2026-08-06 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-05 – 2026-08-05 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-03 – 2026-08-03 | 6 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-07-29 – 2026-07-29 | 12 | 2026-10-20T22:44:14.7177606Z |
| 2026-07-28 – 2026-07-28 | 1 | 2026-10-20T22:44:14.7177606Z |
| 2026-07-27 – 2026-07-27 | 3 | 2026-10-20T22:44:14.7177606Z |
| 2026-07-23 – 2026-07-23 | 3 | 2026-10-20T22:44:14.7177606Z |
| 2026-07-21 – 2026-07-21 | 12 | 2026-10-20T22:44:14.7177606Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.5 | 3 Nov 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:25f37dc4357d005a75b009dca1e59db016c92432935ce5f51f7db198f927b19b