From f29cdf72e21f0f9c25c3196fe6f8bb622baa8b1b Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Tue, 22 Oct 2019 04:03:41 +0530 Subject: [PATCH 1/4] added basic Hello World Code in C --- CONTRIBUTORS.md | 6 ++++++ c/hello/n6wbi6_hello_world.c | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 c/hello/n6wbi6_hello_world.c diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c1b7b34b..652380b5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -439,3 +439,9 @@ Name: [Antonio](https://github.com/toluwalope19)
Place: Nigeria
Coding Experience: Python and javaScript.
Email: tolubarca01@gmail.com
+ +Name: [Abhishek Singh](https://github.com/n6wbi6)
+Place: India
+Coding Experience: 2 years of coding experience in C.
+Email: abhisheksingh.g07@gmail.com
+ diff --git a/c/hello/n6wbi6_hello_world.c b/c/hello/n6wbi6_hello_world.c new file mode 100644 index 00000000..314f1165 --- /dev/null +++ b/c/hello/n6wbi6_hello_world.c @@ -0,0 +1,8 @@ +#include + +int main() { + + printf("Hello, world!"); + return 0; + +} From 9f1b24aef29f54b6d1313b2fc40f580be540d0be Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 24 Oct 2019 14:07:41 +0530 Subject: [PATCH 2/4] added one-line factorial lambda function --- python/factorial/factorial_n6wbi6.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 python/factorial/factorial_n6wbi6.py diff --git a/python/factorial/factorial_n6wbi6.py b/python/factorial/factorial_n6wbi6.py new file mode 100644 index 00000000..120f16c7 --- /dev/null +++ b/python/factorial/factorial_n6wbi6.py @@ -0,0 +1,3 @@ +fact = lambda x: 1 if x == 0 else x * fact(x-1) +#testing it +print(fact(25)) \ No newline at end of file From dc045e93ab3b5e10552aae92f28375ab1eaaa2f6 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 24 Oct 2019 14:15:40 +0530 Subject: [PATCH 3/4] added experience in python --- CONTRIBUTORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 652380b5..534158db 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -442,6 +442,6 @@ Email: tolubarca01@gmail.com
Name: [Abhishek Singh](https://github.com/n6wbi6)
Place: India
-Coding Experience: 2 years of coding experience in C.
+Coding Experience: 2 years of coding experience in C and python.
Email: abhisheksingh.g07@gmail.com
From ab62c8cb0a05fade029072e561adf0c6a82beec9 Mon Sep 17 00:00:00 2001 From: William Zhou Date: Sun, 27 Oct 2019 19:14:17 -0400 Subject: [PATCH 4/4] Update CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 534158db..09a44454 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -444,4 +444,3 @@ Name: [Abhishek Singh](https://github.com/n6wbi6)
Place: India
Coding Experience: 2 years of coding experience in C and python.
Email: abhisheksingh.g07@gmail.com
-