From 6bebb5b4b3951d7f50c4db11f056c2180c1411b7 Mon Sep 17 00:00:00 2001 From: suspectglint <47322410+suspectglint@users.noreply.github.com> Date: Mon, 26 Oct 2020 05:20:10 +0530 Subject: [PATCH 1/3] Added a sample python program This python file is used for printing Hello, world! --- hello_world.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 hello_world.py diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 0000000..bd74085 --- /dev/null +++ b/hello_world.py @@ -0,0 +1,3 @@ +# This program prints Hello, world! + +print("Hello, world!") \ No newline at end of file From 6059e0721a4fd0ea5e806998461a7548e7e48da0 Mon Sep 17 00:00:00 2001 From: suspectglint <47322410+suspectglint@users.noreply.github.com> Date: Mon, 26 Oct 2020 05:37:24 +0530 Subject: [PATCH 2/3] Create print_num.py --- print_num.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 print_num.py diff --git a/print_num.py b/print_num.py new file mode 100644 index 0000000..8cece3a --- /dev/null +++ b/print_num.py @@ -0,0 +1,5 @@ +#Program for printing numbers from 1 to 10 + +for i in range(1, 11): + print(i) + \ No newline at end of file From 2ad07f2b182e4c044ca71ca6618c3343c23f7e8a Mon Sep 17 00:00:00 2001 From: suspectglint <47322410+suspectglint@users.noreply.github.com> Date: Mon, 26 Oct 2020 05:56:09 +0530 Subject: [PATCH 3/3] Create hello_world.c Added a new folder with my username. And added a hello world program in C in the same folder. --- suspectglint/hello_world.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 suspectglint/hello_world.c diff --git a/suspectglint/hello_world.c b/suspectglint/hello_world.c new file mode 100644 index 0000000..029d2aa --- /dev/null +++ b/suspectglint/hello_world.c @@ -0,0 +1,9 @@ +// Sample C program for printing hello world. + +#include + +int main() +{ + printf("Hello, world!"); + return 0; +}