From 65b2d0714e58bc0d161e3f5dc0b33e00aa8ceac5 Mon Sep 17 00:00:00 2001 From: Anki Singh <55996182+ankitsingh999@users.noreply.github.com> Date: Sat, 3 Oct 2020 14:42:16 +0530 Subject: [PATCH] add numbers program to add number in python --- add two numbers | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 add two numbers diff --git a/add two numbers b/add two numbers new file mode 100644 index 0000000..8fbba12 --- /dev/null +++ b/add two numbers @@ -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))