From df04e119fb4aa1d3593b1a3fa30b673f17c7aea0 Mon Sep 17 00:00:00 2001 From: Jafar-Sadiq Shittu <62627691+Zuko-J@users.noreply.github.com> Date: Thu, 21 Oct 2021 18:04:19 +0100 Subject: [PATCH] Update addnumbers.py --- addnumbers.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addnumbers.py b/addnumbers.py index 367189c..237f2e5 100644 --- a/addnumbers.py +++ b/addnumbers.py @@ -10,3 +10,11 @@ # Display the sum # will print value in float print("The sum of {0} and {1} is {2}" .format(number1, number2, sum)) + + +def add_(num1, num2): + output = num1 + num2 + + print(output) + +add_()