From ac89178e2bf9e85d391aea646a7d3b27d0d2b9f2 Mon Sep 17 00:00:00 2001 From: Alan Sebastian George Date: Sat, 30 Oct 2021 01:04:21 +0530 Subject: [PATCH] Create Sum of 2 nos --- Sum of 2 nos | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Sum of 2 nos diff --git a/Sum of 2 nos b/Sum of 2 nos new file mode 100644 index 0000000..3564a58 --- /dev/null +++ b/Sum of 2 nos @@ -0,0 +1,6 @@ +num1 = input('Frst Number: ') +num2 = input('Second Number: ') + +sum = float(num1) + float(num2) + +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))