diff --git a/A simple calculator using functions.ipynb b/A simple calculator using functions.ipynb index 9ed6bb2..2047de5 100644 --- a/A simple calculator using functions.ipynb +++ b/A simple calculator using functions.ipynb @@ -25,16 +25,19 @@ "welcome to my calculator\n", "A)dd numbers\n", "S)ubtract numbers\n", + "M)ultiply numbers\n" , "choose your options\n", "enter the first number5\n", "enter the first number4\n", "the answer from your calcaulation is=1\n", "A)dd numbers\n", "S)ubtract numbers\n", + "M)ultiply numbers\n", "choose your optionr\n", "sorry that is not a valid menu choice \n", "A)dd numbers\n", "S)ubtract numbers\n", + "M)ultiply numbers\n", "choose your optiona\n", "enter the first numbera\n", "That was not a valid number.. please try again\n", @@ -97,6 +100,10 @@ " \n", " return x\n", "\n", + "def mul(x,y):\n", + " \n", + " return x*y\n", + "\n", "def add(x,y):\n", " \n", " return x+y\n",