dat-toanhoc 0.1.0__tar.gz
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.
- dat_toanhoc-0.1.0/PKG-INFO +10 -0
- dat_toanhoc-0.1.0/dat_toan/__init__.py +1 -0
- dat_toanhoc-0.1.0/dat_toan/toanhoc.py +27 -0
- dat_toanhoc-0.1.0/dat_toanhoc.egg-info/PKG-INFO +10 -0
- dat_toanhoc-0.1.0/dat_toanhoc.egg-info/SOURCES.txt +7 -0
- dat_toanhoc-0.1.0/dat_toanhoc.egg-info/dependency_links.txt +1 -0
- dat_toanhoc-0.1.0/dat_toanhoc.egg-info/top_level.txt +1 -0
- dat_toanhoc-0.1.0/setup.cfg +4 -0
- dat_toanhoc-0.1.0/setup.py +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .toanhoc import *
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
def cong(a, b):
|
|
2
|
+
return a + b
|
|
3
|
+
|
|
4
|
+
def tru(a, b):
|
|
5
|
+
return a - b
|
|
6
|
+
|
|
7
|
+
def nhan(a, b):
|
|
8
|
+
return a * b
|
|
9
|
+
|
|
10
|
+
def chia(a, b):
|
|
11
|
+
return a / b
|
|
12
|
+
|
|
13
|
+
def chu_vi_hcn(dai, rong):
|
|
14
|
+
return (dai + rong) * 2
|
|
15
|
+
|
|
16
|
+
def dien_tich_hcn(dai, rong):
|
|
17
|
+
return dai * rong
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# 2 hàm chu vi hình chữ nhật, diện tích hình chữ nhật
|
|
21
|
+
|
|
22
|
+
def chu_vi_hcn(dai, rong):
|
|
23
|
+
return (dai + rong) * 2
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def dien_tich_hcn(dai, rong):
|
|
27
|
+
return dai * rong
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dat_toan
|