check max_number of arguments,list and dictionary
Project description
Project description
example:
from max_num.max import Max
##check maximum number of undefined arguments
check_max_value = Max.max_num(1,23,11,2,4)
print(check_max_value)
##check maximum number of a dictionary
sample_dict = { "Esharat" : 200,
"Masum": 300,
"Liza": 100,
"Mahreen": 50,
}
check_max_dict_value = Max.max_num_dict(sample_dict)
for (Key,Value) in check_max_dict_value.items():
print(f"{key} got highest score: {Value}")
##Check maximum number of a list
sample_list = [12,23,34,12,4,7,9,19]
check_max_list_value = Max.max_num_list(sample_list)
print(f"The bigest number is {check_max_list_value}")
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
max_num-0.0.3.tar.gz
(2.7 kB
view hashes)