This commit is contained in:
Firepup Sixfifty 2024-11-07 23:31:03 -06:00
parent e2ecd8699a
commit d3c2e4a728
Signed by: Firepup650
SSH key fingerprint: SHA256:cb8sEJwc0kQJ6/nMUhscWRe35itf0NFMdSKl3v4qt48
3 changed files with 18 additions and 1 deletions

View file

@ -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:

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "firepup650"
version = "1.0.43"
version = "1.0.44"
authors = ["Firepup650 <firepyp650@gmail.com>"]
description = "Package containing various shorthand things I use, and a few imports I almost always use"
readme = "README.md"

View file

@ -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.