DucCong-math 0.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ def cong(a, b):
2
+ return a + b
3
+
4
+
5
+ def tru(a, b):
6
+ return a - b
7
+
8
+
9
+ def nhan(a, b):
10
+ return a * b
11
+
12
+
13
+ def chia(a, b):
14
+ if b == 0:
15
+ raise ValueError("Khong the chia cho 0")
16
+ return a / b
17
+
18
+
19
+ def chu_vi_hcn(dai, rong):
20
+ return 2 * (dai + rong)
21
+
22
+
23
+ def dien_tich_hcn(dai, rong):
24
+ return dai * rong
DucCong_math/init.py ADDED
@@ -0,0 +1,8 @@
1
+ from .calculator import (
2
+ cong,
3
+ tru,
4
+ nhan,
5
+ chia,
6
+ chu_vi_hcn,
7
+ dien_tich_hcn
8
+ )
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: DucCong_math
3
+ Version: 0.0.0
@@ -0,0 +1,6 @@
1
+ DucCong_math/calculator.py,sha256=JmSBNvtfOGVnARuXOYWjS07sn1rZmEGbnoKzmfLYGsk,334
2
+ DucCong_math/init.py,sha256=5mQQaMbeK_ncyARV5UGBCAYCt2aU0SyeOHtHUMZw00M,107
3
+ duccong_math-0.0.0.dist-info/METADATA,sha256=d1VpXpVrLp9M4jAuxFGMZtjB_A5nCzGUvNCX6N4oK_w,59
4
+ duccong_math-0.0.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
5
+ duccong_math-0.0.0.dist-info/top_level.txt,sha256=eDC6WLKHBliOxs5A0QAML-O-qR93oMBXOBOFDTjQ3pA,13
6
+ duccong_math-0.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ DucCong_math