v.1.0.44
This commit is contained in:
parent
e2ecd8699a
commit
d3c2e4a728
3 changed files with 18 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue