diff options
1 files changed, 0 insertions, 13 deletions
| -rw-r--r-- | homework/81350/parser/colapser/input.file | 13 |
diff --git a/homework/81350/parser/colapser/input.file b/homework/81350/parser/colapser/input.file deleted file mode 100644 index 223392d..0000000 --- a/homework/81350/parser/colapser/input.file +++ /dev/null @@ -1,13 +0,0 @@ -def func(): - num = 7 - - factorial = 1 - - if num < 0: - print("Sorry, factorial does not exist for negative numbers") - elif num == 0: - print("The factorial of 0 is 1") - else: - for i in range(1,num + 1): - factorial = factorial*i - print("The factorial of",num,"is",factorial) |
