-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from n6wbi6/master
One-line python factorial calculator and hello in c
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -439,3 +439,8 @@ Name: [Antonio](https://github.com/toluwalope19) </br> | |
Place: Nigeria </br> | ||
Coding Experience: Python and javaScript. </br> | ||
Email: [email protected] </br> | ||
|
||
Name: [Abhishek Singh](https://github.com/n6wbi6) </br> | ||
Place: India </br> | ||
Coding Experience: 2 years of coding experience in C and python. </br> | ||
Email: [email protected] </br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include <stdio.h> | ||
|
||
int main() { | ||
|
||
printf("Hello, world!"); | ||
return 0; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fact = lambda x: 1 if x == 0 else x * fact(x-1) | ||
#testing it | ||
print(fact(25)) |