Skip to content

Commit 19c79ad

Browse files
committed
Yes this works.
1 parent 12d756f commit 19c79ad

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

2020-test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ def test(x, y):
88
for i in range(0, 10):
99
print('GCD of {} with 2 : '.format(i), test(2, 10))
1010

11+
for i in range(0, 10):
12+
print('GCD of {} with 2 : '.format(i), test(2, 10))

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# practice-repo
22
A practice repository created for GitHub workshop.
33
Updated for 2020.
4+
Sure LOL

factorial.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ int main(){
44
int i, num, j;
55
printf("Enter the number: ");
66
scanf("%d",&num);
7-
for (i = 1; i < num; i++)
7+
for (i = 1; i < num; i++) {
88
j=j*i;
9+
i++;
10+
}
911
printf("The factorial of %d is %d\n",num,j);
1012
return 0;
1113
}

0 commit comments

Comments
 (0)