Hilfsfunktion, um Prozentdifferenzen zwischen zwei Zahlen zu berechnen.
Project description
Why?
I wrote an Exam where I needed to calculate percentages. Unfortunately I forgot how to do this, so I just wrote this in my code:
a = input("first value")
b = input("second value")
import os
os.system("pip install get_percent")
from get_percent import get_percent
percentage = get_percent(a, b)
print(f"The percentage is: {percentage}")
Because this module doesn't exist I just wrote it myself. I don't know if my teachers approves this. Probably not, but it's worth a try xD
I'll let you know what the result is once I get the exam back lmao
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_percent-0.1.0.tar.gz.
File metadata
- Download URL: get_percent-0.1.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c723399be92a7a9790ec068c88dc34b560afcac084cfbc8affa011a583f39e5a
|
|
| MD5 |
ec5547bc67d5b7e5e66c159630601ae5
|
|
| BLAKE2b-256 |
a526636f4d7fcac1e9e6ade3df50fe63c753feddea0387cc7500c84eb9fe21d2
|
File details
Details for the file get_percent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: get_percent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1468ca520e5c976442abd8e69e126cccfa46b5473f896b91019c681bca678bd
|
|
| MD5 |
f7a1bf586705d23f1fda13c4a7c8c847
|
|
| BLAKE2b-256 |
2a796649dd6c1c17de1561c1e9ab865da9514b7ef492b7173a4c3cbdd9d27258
|