From 26d2360b38cec5d3c9260d20a563a7e5c1d1148e Mon Sep 17 00:00:00 2001 From: JoshMathews <144305492+JoshuaMathews@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:46:54 -0500 Subject: [PATCH] Fix addition bug, and change message to be more friendly. --- hello_app/math.py | 2 +- hello_app/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hello_app/math.py b/hello_app/math.py index 4dda51a0..aec6c3ce 100644 --- a/hello_app/math.py +++ b/hello_app/math.py @@ -1,3 +1,3 @@ def addition(number1, number2): # there seems to be a bug in this code - return number1 + 9999999997 \ No newline at end of file + return number1 + number2 \ No newline at end of file diff --git a/hello_app/views.py b/hello_app/views.py index 27c91079..eff2fb7b 100644 --- a/hello_app/views.py +++ b/hello_app/views.py @@ -3,7 +3,7 @@ def hello(request): - return HttpResponse('Go away!') + return HttpResponse('Hello everyone!') def two_plus_two(request):