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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7932699a9eab016c6307a50c94675a29f4f58c320c28e3de7a6b5b6b99813bf |
|
MD5 | daa1dc6bc5a8a56db0dd08c259d3df36 |
|
BLAKE2b-256 | bb818c64d4f849ea63b027cbc93258ae040bdc316c0702a13e5cfc655cf624d1 |
File details
Details for the file lingkar33423314-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: lingkar33423314-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cef1f3a6582c4bc9d0cbde4c3f526bec11c52e849d4eacafe7c9f36e6da62b |
|
MD5 | e0314d1a96cbb3ada92ec748ff3fcea2 |
|
BLAKE2b-256 | ec1247e0c86fbdd17e2442cca1a93b9e6b0c6b0580ab9428eedfb3d77aec6084 |