Skip to main content

Data_Analyst_PKG

Project description

def mod(a, b): """ Returns the modulus (remainder) of the division of a by b.

Parameters:
a (int, float): The dividend.
b (int, float): The divisor.

Returns:
int, float: The remainder when `a` is divided by `b`.

Example:
>>> mod(10, 3)
1
"""
return a % b

def floor(a, b): """ Returns the floor division (integer division result) of a by b.

Parameters:
a (int, float): The dividend.
b (int, float): The divisor.

Returns:
int, float: The largest integer less than or equal to the division of `a` by `b`.

Example:
>>> floor(10, 3)
3
"""
return a // b

def exp(a, b): """ Returns the result of raising a to the power of b.

Parameters:
a (int, float): The base number.
b (int, float): The exponent to raise `a` to.

Returns:
int, float: The result of `a` raised to the power of `b`.

Example:
>>> exp(2, 3)
8
"""
return a ** b

def mul(a, b): """ Returns the result of multiplying a by b.

Parameters:
a (int, float): The first number.
b (int, float): The second number.

Returns:
int, float: The product of `a` and `b`.

Example:
>>> mul(3, 4)
12
"""
return a * b

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sandypackages-1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sandypackages-1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file sandypackages-1.2.tar.gz.

File metadata

  • Download URL: sandypackages-1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sandypackages-1.2.tar.gz
Algorithm Hash digest
SHA256 c98c080811f6cbee750d38d19de70d9e97480e6417a8e27cd3cefc157e258cc4
MD5 498072b360f3fdb282e0da3c6bdb5a2b
BLAKE2b-256 9e5bdf88ed4637263ed06c2c75515eac22174cc9b65f34926db745b534f00693

See more details on using hashes here.

File details

Details for the file sandypackages-1.2-py3-none-any.whl.

File metadata

  • Download URL: sandypackages-1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sandypackages-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c298b7f3e5707dc091a683ed48131fb21f439333f4b2278808983675b317aa0c
MD5 2d9f8ef57bdb51b883fef20d796dfbd6
BLAKE2b-256 26d919d5093f847194deb6552d3c22f78bd97d169e327bac3ae65e6dc7eb9eef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page