From 2e959666254a4a608e27798a5f6bc69cf5909406 Mon Sep 17 00:00:00 2001 From: taniya jaison Date: Tue, 20 Feb 2024 14:15:31 +0530 Subject: [PATCH 1/7] first commit --- new.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 new.py diff --git a/new.py b/new.py new file mode 100644 index 0000000..dd047d7 --- /dev/null +++ b/new.py @@ -0,0 +1,10 @@ +# This program adds two numbers + +num1 = 1.5 +num2 = 6.3 + +# Add two numbers +sum = num1 + num2 + +# Display the sum +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file From 6aabdbaf59163c43b6c17a8643eb139852b658b9 Mon Sep 17 00:00:00 2001 From: taniya jaison <156457415+taniya221@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:26:58 +0530 Subject: [PATCH 2/7] Update new.py --- new.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new.py b/new.py index dd047d7..5d8f731 100644 --- a/new.py +++ b/new.py @@ -1,10 +1,10 @@ # This program adds two numbers num1 = 1.5 -num2 = 6.3 +num2 = 7.2 # Add two numbers sum = num1 + num2 # Display the sum -print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) From 6059a74fe26ab5d5cc621dbc1f0eb58de082c3ae Mon Sep 17 00:00:00 2001 From: taniya jaison <156457415+taniya221@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:58:20 +0530 Subject: [PATCH 3/7] Update new.py --- new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new.py b/new.py index 5d8f731..37fbc56 100644 --- a/new.py +++ b/new.py @@ -1,6 +1,6 @@ # This program adds two numbers -num1 = 1.5 +num1 = 1.0 num2 = 7.2 # Add two numbers From e675b7573180918bf813120a9f619bee80a924ec Mon Sep 17 00:00:00 2001 From: taniya jaison <156457415+taniya221@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:14:34 +0530 Subject: [PATCH 4/7] Update new.py --- new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new.py b/new.py index 37fbc56..f9ae8af 100644 --- a/new.py +++ b/new.py @@ -1,6 +1,6 @@ # This program adds two numbers -num1 = 1.0 +num1 = 1 num2 = 7.2 # Add two numbers From 8a751d28a13fbf284ee90f82b6b9bc180f3fca3f Mon Sep 17 00:00:00 2001 From: taniya jaison Date: Mon, 27 May 2024 09:59:16 +0530 Subject: [PATCH 5/7] first commit --- sub1.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sub1.py diff --git a/sub1.py b/sub1.py new file mode 100644 index 0000000..dd047d7 --- /dev/null +++ b/sub1.py @@ -0,0 +1,10 @@ +# This program adds two numbers + +num1 = 1.5 +num2 = 6.3 + +# Add two numbers +sum = num1 + num2 + +# Display the sum +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file From 58e4f49e844d7d8413bc1c49b8e0f8277fdba688 Mon Sep 17 00:00:00 2001 From: taniya jaison <156457415+taniya221@users.noreply.github.com> Date: Mon, 27 May 2024 10:00:27 +0530 Subject: [PATCH 6/7] Update sub1.py --- sub1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sub1.py b/sub1.py index dd047d7..ef21c29 100644 --- a/sub1.py +++ b/sub1.py @@ -1,10 +1,10 @@ # This program adds two numbers -num1 = 1.5 +num1 = 1.6 num2 = 6.3 # Add two numbers sum = num1 + num2 # Display the sum -print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) From f7fb56680fde61a120bfa8a0cc399c944611e5b6 Mon Sep 17 00:00:00 2001 From: taniya jaison <156457415+taniya221@users.noreply.github.com> Date: Mon, 27 May 2024 10:00:57 +0530 Subject: [PATCH 7/7] Update sub1.py --- sub1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub1.py b/sub1.py index ef21c29..e97ca7a 100644 --- a/sub1.py +++ b/sub1.py @@ -1,6 +1,6 @@ # This program adds two numbers -num1 = 1.6 +num1 = 1.62 num2 = 6.3 # Add two numbers