diff --git a/src/square.py b/src/square.py index 3681a17..24e9dc3 100644 --- a/src/square.py +++ b/src/square.py @@ -1,3 +1,3 @@ # return the squared value def square(x): - pass \ No newline at end of file + return x * x \ No newline at end of file diff --git a/src/whereToEat.py b/src/whereToEat.py index 2c20a31..56c9a88 100644 --- a/src/whereToEat.py +++ b/src/whereToEat.py @@ -1,3 +1,10 @@ #given input 'north', 'west', or 'central', return 'RPCC', 'Keeton', and 'anywhere but Okenshields' respectively def where_to_eat(location): - pass + if location == "north": + return "RPCC" + elif location == "west": + return "Keeton" + elif location == "central": + return "anywhere but Okenshields" + else: + return