From b0c3e6a2a431dd113003c6e692a5d06f79f41acb Mon Sep 17 00:00:00 2001 From: Nick Lenssen Date: Sun, 9 Aug 2020 19:22:30 -0400 Subject: [PATCH] Assignment 4 commit --- calculator.py | 153 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 128 insertions(+), 25 deletions(-) diff --git a/calculator.py b/calculator.py index a46affd..f84b0dd 100644 --- a/calculator.py +++ b/calculator.py @@ -42,16 +42,97 @@ """ -def add(*args): - """ Returns a STRING with the sum of the arguments """ - - # TODO: Fill sum with the correct value, based on the - # args provided. - sum = "0" +def instructions(): + body = """ +

Calculator Instructions

+

Enter http://localhost:8080/
+ Then the operation followed by /
+ Then the two numbers separated by /

+