diff --git a/package/README.md b/package/README.md index 14fadc5..9afd9cf 100644 --- a/package/README.md +++ b/package/README.md @@ -1,6 +1,8 @@ # Firepup650 Package containing various shorthand things I use, and a few imports I almost always use ### Change log: +#### v.1.0.44: +Added a getRandomNumber function (xkcd 221) #### v.1.0.43: Called the error the wrong thing #### v.1.0.42: diff --git a/package/pyproject.toml b/package/pyproject.toml index dfd596c..72bcaa8 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "firepup650" -version = "1.0.43" +version = "1.0.44" authors = ["Firepup650 "] description = "Package containing various shorthand things I use, and a few imports I almost always use" readme = "README.md" diff --git a/package/src/firepup650/__init__.py b/package/src/firepup650/__init__.py index 83251bc..af4db5f 100644 --- a/package/src/firepup650/__init__.py +++ b/package/src/firepup650/__init__.py @@ -992,3 +992,18 @@ if fkey: if current < 0: current = limit - 1 return options[choices[current]] + + +def getRandomNumber() -> int: + """# Function: getRandomNumber + Returns 4 + # Inputs: + None + + # Returns: + int - 4 + + # Raises: + None""" + return 4 # chosen by fair dice roll. + # garunteed to be random.