Skip to content

Commit 57c5ecb

Browse files
authored
Update Python Program for factorial of a number
1 parent b7f02ee commit 57c5ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python Program for factorial of a number

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def factorial(n):
1111
# Driver Code
1212
num = 5;
1313
print("Factorial of",num,"is",
14-
factorial(num))
14+
factorial((num))
1515
Iterative:
1616
# Python 3 program to find
1717
# factorial of given number

0 commit comments

Comments
 (0)