Skip to main content

Implementasi konsep himpunan menggunakan Python list dan magic methods.

Project description

himpunankelompok4

Implementasi sederhana kelas Himpunan untuk menggambarkan operasi himpunan dasar (gabungan, irisan, selisih, komplemen, power set, cartesian product) menggunakan Python.

Fitur utama:

  • Representasi himpunan dengan magic methods
  • Operasi himpunan: union, intersection, difference, symmetric difference
  • Power set dan Cartesian product

Instalasi lokal dari distribution:

python -m pip install --upgrade build
python -m build
python -m pip install dist\himpunankelompok4-0.1.0-py3-none-any.whl

Penggunaan singkat:

from himpunan import Himpunan

a = Himpunan(1,2,3)
b = Himpunan(2,3,4)
print(a + b)  # gabungan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

himpunankelompok4-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

himpunankelompok4-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file himpunankelompok4-0.1.0.tar.gz.

File metadata

  • Download URL: himpunankelompok4-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for himpunankelompok4-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a89d91e207cab3aa3e75c6402de82bd5a46792ace1d27d6cad25b5dbf7c1a90d
MD5 91fe02a7bda8e0059188c29075b1b482
BLAKE2b-256 4d25c7b4946fabd6919025fd828d86991bf00d4dcb24f067619e2b073a15727a

See more details on using hashes here.

File details

Details for the file himpunankelompok4-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for himpunankelompok4-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8b562fc063fb42fa4e239be86357b40c722a77f88f8cfa4177e097f08438f1
MD5 585700958e39353c26f59c41c7b5ed09
BLAKE2b-256 fb04baeb33e5d3fead2c817ca8d1c79fe2c4c4c1d2fc447d7d117d0ba48be916

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page