Skip to main content

Library Python sederhana untuk menghitung luas lingkaran.

Project description

Menghitung luas lingkaran

Library Python sederhana untuk menghitung luas lingkaran.

Installastion

pip install lingkar33423314

Implementasi

from lingkaran.luas_lingkaran import Lingkaran

def main():
    jari_jari = float(input("Masukkan jari-jari lingkaran: "))
    
    lingkaran_saya = Lingkaran(jari_jari)
    luas = lingkaran_saya.hitung_luas()
    
    print(f"Luas lingkaran dengan jari-jari {jari_jari} adalah: {luas:.2f}")

if __name__ == "__main__":
    main()

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

lingkar33423314-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

lingkar33423314-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file lingkar33423314-0.0.1.tar.gz.

File metadata

  • Download URL: lingkar33423314-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for lingkar33423314-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d7932699a9eab016c6307a50c94675a29f4f58c320c28e3de7a6b5b6b99813bf
MD5 daa1dc6bc5a8a56db0dd08c259d3df36
BLAKE2b-256 bb818c64d4f849ea63b027cbc93258ae040bdc316c0702a13e5cfc655cf624d1

See more details on using hashes here.

File details

Details for the file lingkar33423314-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lingkar33423314-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69cef1f3a6582c4bc9d0cbde4c3f526bec11c52e849d4eacafe7c9f36e6da62b
MD5 e0314d1a96cbb3ada92ec748ff3fcea2
BLAKE2b-256 ec1247e0c86fbdd17e2442cca1a93b9e6b0c6b0580ab9428eedfb3d77aec6084

See more details on using hashes here.

Supported by

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