Skip to content

Commit 3293126

Browse files
authored
Update FIND FACTORIAL OF A NUMBER.py
1 parent 05e8e03 commit 3293126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FIND FACTORIAL OF A NUMBER.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
def factorial(n):
44
if n < 0:
55
return("Oops!Factorial Not Possible")
6-
elif n = 0:
6+
elif n == 0:
77
return 1
88
else:
99
return n*factorial(n-1)

0 commit comments

Comments
 (0)