From c25cb1f83079522281faa6c2616c868b9cd6a1e6 Mon Sep 17 00:00:00 2001 From: Anitha8073 Date: Tue, 20 Feb 2024 14:11:37 +0530 Subject: [PATCH 1/3] first commit --- sample1.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sample1.py diff --git a/sample1.py b/sample1.py new file mode 100644 index 0000000..9e9fe85 --- /dev/null +++ b/sample1.py @@ -0,0 +1,4 @@ +num1 = 1.5 +num2 = 6.3 +sum = num1 + num2 +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file From c24da51b60f5df27656d45068067e5194f46f5a5 Mon Sep 17 00:00:00 2001 From: ANITHA <156275283+Anitha8073@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:14:25 +0530 Subject: [PATCH 2/3] Update sample1.py --- sample1.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sample1.py b/sample1.py index 9e9fe85..c8f0feb 100644 --- a/sample1.py +++ b/sample1.py @@ -1,4 +1,5 @@ num1 = 1.5 num2 = 6.3 -sum = num1 + num2 -print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) \ No newline at end of file +num3 = 7.3 +sum = num1 + num2 +num3 +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) From 065705d6fe25b19d29101b9a1a653ad72d630fd0 Mon Sep 17 00:00:00 2001 From: ANITHA <156275283+Anitha8073@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:24:21 +0530 Subject: [PATCH 3/3] Update sample1.py --- sample1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample1.py b/sample1.py index c8f0feb..2761354 100644 --- a/sample1.py +++ b/sample1.py @@ -1,5 +1,5 @@ num1 = 1.5 num2 = 6.3 -num3 = 7.3 +num3 = 7.5 sum = num1 + num2 +num3 print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))