Skip to content

Commit 5ba1049

Browse files
authored
Added spaces in Q.9 in order to avoid italicizing
Factorials were explained like 4! = 4[asterisk]3[asterisk]2[asterisk]1, which lead to some characters becoming italicized.
1 parent da71f5b commit 5ba1049

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assignments/4-functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Marks Grade
2525
<=40 Fail
2626

2727
9. Write a program to print the factorial of a number by defining a method named 'Factorial'.
28-
Factorial of any number n is represented by n! and is equal to 1*2*3*....*(n-1)*n. E.g.-
29-
4! = 1*2*3*4 = 24
30-
3! = 3*2*1 = 6
31-
2! = 2*1 = 2
28+
Factorial of any number n is represented by n! and is equal to 1 * 2 * 3 * .... * (n-1) *n. E.g.-
29+
4! = 1 * 2 * 3 * 4 = 24
30+
3! = 3 * 2 * 1 = 6
31+
2! = 2 * 1 = 2
3232
Also,
3333
1! = 1
3434
0! = 1

0 commit comments

Comments
 (0)