Basic Understanding of publishing packages to the PYpi
Project description
this is the package created and developed by author: Vishwa
def div(a, b): """ Divide two numbers.
This function takes two numerical inputs, `a` and `b`, and returns the result of dividing `a` by `b`.
Parameters:
a (int or float): The numerator.
b (int or float): The denominator. Must not be zero.
Returns:
float: The result of dividing `a` by `b`.
Raises:
ZeroDivisionError: If `b` is zero.
Example:
>>> div(10, 2)
5.0
"""
return a / b
def mod(a, b): """ Calculate the remainder of division (modulus) of two numbers.
This function takes two numerical inputs, `a` and `b`, and returns the remainder when `a` is divided by `b`.
Parameters:
a (int or float): The dividend.
b (int or float): The divisor. Must not be zero.
Returns:
int or float: The remainder of the division of `a` by `b`.
Raises:
ZeroDivisionError: If `b` is zero.
Example:
>>> mod(10, 3)
1
"""
return a % b
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
v_data_analyst-1.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for v_data_analyst-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75360d41e56e26664029e7dddee59ab1ee0d6c225a6fca33e26705e75c431f94 |
|
MD5 | 21e6347ed6897514de9cb07b9b605d29 |
|
BLAKE2b-256 | 370afd8f56bb49e9f03ba1343f77977ef03e99072e7c4b38a7dc73f7d042d237 |