Skip to main content

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


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 details)

Uploaded Source

Built Distribution

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

max_num-0.0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file max_num-0.0.3.tar.gz.

File metadata

  • Download URL: max_num-0.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for max_num-0.0.3.tar.gz
Algorithm Hash digest
SHA256 35803c48654560ec5e1147dd20115e906a0074ab234989982c991c96feefb595
MD5 2c736c17c717e1eefa132dcdea7f7e4c
BLAKE2b-256 758110d77667c3a45b87d86ac83b786dec1066f3f1b18dab92952844e6a4f9ca

See more details on using hashes here.

File details

Details for the file max_num-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: max_num-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for max_num-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18bf9f0794298b8d08796d3aa02e97ad399d8b0d31754760a258f15fecf54f19
MD5 d8c95740efbaa41b0807e723464bed4f
BLAKE2b-256 71076f1e359194869bf1950189b338fa3db0ee4023b8647735e5feb62586fdc2

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