From b91be3d4cee9fd2fcc4106dc15d33a3ab1aa86d4 Mon Sep 17 00:00:00 2001 From: Ashishkhakurel <44515939+Ashishkhakurel@users.noreply.github.com> Date: Sat, 27 Oct 2018 19:06:17 +0545 Subject: [PATCH] addition --- add two words.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 add two words.py diff --git a/add two words.py b/add two words.py new file mode 100644 index 000000000..2671015e7 --- /dev/null +++ b/add two words.py @@ -0,0 +1,10 @@ +# This program adds two numbers + +num1 = 1.5 +num2 = 6.3 + +# Add two numbers +sum = float(num1) + float(num2) + +# Display the sum +print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))