From f9b0c0a0d2026244c4cc62fd421e50ea5e5abe31 Mon Sep 17 00:00:00 2001 From: FaustinaJenny Date: Tue, 12 Mar 2024 14:11:59 +0530 Subject: [PATCH 1/4] first commit --- kitty.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 kitty.py diff --git a/kitty.py b/kitty.py new file mode 100644 index 0000000..dd047d7 --- /dev/null +++ b/kitty.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 8448ff9f0b73c06c4388f333eddcd8004e1d27b5 Mon Sep 17 00:00:00 2001 From: Faustina Jenny <156066358+FaustinaJenny@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:14:19 +0530 Subject: [PATCH 2/4] Update kitty.py --- kitty.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty.py b/kitty.py index dd047d7..61ac07d 100644 --- a/kitty.py +++ b/kitty.py @@ -1,10 +1,10 @@ # This program adds two numbers num1 = 1.5 -num2 = 6.3 +num2 = 6.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 f3d8d73f914f684b008014416fcac9e635bf1e82 Mon Sep 17 00:00:00 2001 From: Faustina Jenny <156066358+FaustinaJenny@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:38:54 +0530 Subject: [PATCH 3/4] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d571c2d..aabc6a1 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -# SE-Projects \ No newline at end of file +# SE-Projects +num1 = 1.5 +num2 = 6 + +# Add two numbers +sum = num1 + num2 + +# Display the sum +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) From 69fa4d6f89b3393e6e5238aee6bebb3199b8d4b8 Mon Sep 17 00:00:00 2001 From: Faustina Jenny <156066358+FaustinaJenny@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:39:41 +0530 Subject: [PATCH 4/4] Update kitty.py --- kitty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty.py b/kitty.py index 61ac07d..a28631a 100644 --- a/kitty.py +++ b/kitty.py @@ -1,7 +1,7 @@ # This program adds two numbers num1 = 1.5 -num2 = 6.2 +num2 = 6 # Add two numbers sum = num1 + num2