From 0f923575781b09cf8c8c409b526a5a1fda330031 Mon Sep 17 00:00:00 2001 From: FaustinaJenny Date: Tue, 20 Feb 2024 14:17:21 +0530 Subject: [PATCH 1/2] first commit --- frost.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 frost.py diff --git a/frost.py b/frost.py new file mode 100644 index 0000000..dd047d7 --- /dev/null +++ b/frost.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 b900db6a581ee13d672f22c1327cd26e0daf5baf Mon Sep 17 00:00:00 2001 From: Faustina Jenny <156066358+FaustinaJenny@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:20:12 +0530 Subject: [PATCH 2/2] Update frost.py --- frost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frost.py b/frost.py index dd047d7..61ac07d 100644 --- a/frost.py +++ b/frost.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))