Package uoc boi
Project description
Dùng uoc-va-boi
Cách đùng nó:
Bước 1:
- Cài đặt
pip install uoc-va-boi
Bước 2:
- Gọi module
import uoc-va-boi
Bươc 3:
- Dùng
import uoc-va-boi
# Tìm Ươc của 12
print(uoc-va-boi.uoc(12))
# Tìm Ươc chung của 12, 10
print(uoc-va-boi.uoc_chung(12, 10))
# Tìm Ươc chung lớn nhất của 12, 10
print(uoc-va-boi.uoc_chung_max(12, 10))
# Tìm Bội của 12, biết số lượng là 10
print(uoc-va-boi.boi(12, 10))
# Tìm Bội chung của 12, 10; biết số lượng là 10
print(uoc-va-boi.boi_chung(12, 10, 10))
# Tìm Ươc chung lớn nhất của 12, 10; biết số lượng là 10
print(uoc-va-boi.uoc_chung_min(12, 10, 10))
Kết Quả
{1, 2, 3, 4, 6, 12}
{1, 2}
2
{0, 96, 36, 72, 12, 108, 120, 48, 84, 24, 60}
{0, 60}
60
Các cấu trúc:
| Tên hàm | Cấu trúc | Ý nghĩa |
|---|---|---|
uoc |
uoc(a) | a: là số cần tìm ước |
uoc_chung |
uoc_chung(a, b) | a,b: là số cần tìm ƯC(a,b) |
uoc_chung_max |
uoc_chung_max(a,b) | a,b: là số cần tìm ƯCLN(a,b) |
boi |
boi(a, so_luong) | a:là số cần tìm bội, so_luong: là số lượng bao nhieu |
boi_chung |
boi_chung(a,b, so_luong) | a,b:là số cần tìm BC(a,b), so_luong: là số lượng bao nhieu |
boi_chung_min |
boi_chung_min(a,b, so_luong) | a,b:là số cần tìm BCNN(a,b), so_luong: là số lượng bao nhieu |
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
uoc_va_boi-1.1.tar.gz
(2.1 kB
view details)
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 uoc_va_boi-1.1.tar.gz.
File metadata
- Download URL: uoc_va_boi-1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01396a4639c973bdec1812916bd8d18b6c365f9a12c9ca8ab1e8be90c408ffce
|
|
| MD5 |
edb63924a50deabd24436539dd18d636
|
|
| BLAKE2b-256 |
3eb56b5d9ed04eac2b96e37e8068fb9779ef4e5694bc593cfa9fcd3794ad6046
|
File details
Details for the file uoc_va_boi-1.1-py3-none-any.whl.
File metadata
- Download URL: uoc_va_boi-1.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0869f22ac376598056b93a1b7ef7d0bc12064e403a965a8681ed46df11194f2
|
|
| MD5 |
5118cde6e97f3755197c47630e08db2f
|
|
| BLAKE2b-256 |
e4fd3786b2bc7676f143a015e6878dbc43e2b9caafa0460fd93d1a558bf78109
|