Skip to content

Commit

Permalink
Wrote factorial function...fixed missing parantheses bug
Browse files Browse the repository at this point in the history
  • Loading branch information
devxl committed Jan 24, 2019
1 parent 649f1cd commit 102439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion factorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ def test_factorial():
# This is a way to determine either file was "executed", so if it was
# imported (by e.g. pytest) as a library, we should not run code
# below
nconditions = raw_input("Please enter number of conditions: ")
nconditions = input("Please enter number of conditions: ")
norders = factorial(nconditions)
print("Number of possible trial orders: " + str(norders))

0 comments on commit 102439b

Please sign in to comment.