Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

next-num-package

Takes a number 0-1000 as an input and gives out the next number. Be careful When

  • nextnuming a number greater than 1000
  • nextnuming a negative number
  • nextnuming a non-integer

Installation

pip install nextnum

Usage

from nextnum.functions import nextnum

print(nextnum(1000)) # 1001
print(nextnum(0)) # 1
print(nextnum(1001)) # "Number should be between 0 and 1000"
print(nextnum(-1)) # "Number should be between 0 and 1000"
print(nextnum(1.1)) # "Number should be an integer"

Author

Nischal Lamichhane Built this Package with the best language (c++) in the world. You cad find the source for it at repository.

python version 3.8

About

Takes a number as an input and gives out the next number*.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages