Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions printNumbers/printNumbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
#
# FUNCTION TABLE
#
functionTable = { CONST_FUNC_CODE_FIBONACCI : FibonacciSequence,
CONST_FUNC_CODE_FACTORIAL : Factorial,
}
functionTable = {CONST_FUNC_CODE_FIBONACCI: FibonacciSequence,
CONST_FUNC_CODE_FACTORIAL: Factorial,
}

#
# MAIN ENTRY
Expand All @@ -56,7 +56,7 @@
print('')

# Process command line arguments.
params = Parameters(docopt(__doc__, version = CONST_VERSION))
params = Parameters(docopt(__doc__, version=CONST_VERSION))
params.PrintParameters()

# Call corresponding function with <functionIndex> from <functionTable>.
Expand Down