mvp random generator & list operation evaluator
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
""" Default options for Ziffers """
|
||||
import operator
|
||||
|
||||
DEFAULT_DURS = {
|
||||
"m": 8.0, # 15360/1920
|
||||
@ -82,6 +83,14 @@ MODIFIERS = {
|
||||
|
||||
ROMANS = {"i": 1, "v": 5, "x": 10, "l": 50, "c": 100, "d": 500, "m": 1000}
|
||||
|
||||
OPERATORS = {
|
||||
"+": operator.add,
|
||||
"-": operator.sub,
|
||||
"*": operator.mul,
|
||||
"/": operator.truediv,
|
||||
"%": operator.mod,
|
||||
}
|
||||
|
||||
# pylint: disable=locally-disabled, too-many-lines
|
||||
|
||||
SCALES = {
|
||||
|
||||
Reference in New Issue
Block a user