Skip to content

Commit

Permalink
Update FIND FACTORIAL OF A NUMBER.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Piombacciaio authored Jul 29, 2023
1 parent 05e8e03 commit 3293126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FIND FACTORIAL OF A NUMBER.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def factorial(n):
if n < 0:
return("Oops!Factorial Not Possible")
elif n = 0:
elif n == 0:
return 1
else:
return n*factorial(n-1)
Expand Down

0 comments on commit 3293126

Please sign in to comment.