diff --git a/.dockerignore b/.dockerignore index 19d49af..6d69a71 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ .git/ -*.md \ No newline at end of file +*.md +venv/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 13d1490..388004c 100644 --- a/.gitignore +++ b/.gitignore @@ -128,4 +128,4 @@ dmypy.json # Pyre type checker .pyre/ - +.idea/ \ No newline at end of file diff --git a/app.py b/app.py index c8466cc..26ddcf4 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,8 @@ from flask import Flask app = Flask(__name__) + @app.route('/') -def calculatehard(): - result = 3 * 4 + 12 - return str(result) \ No newline at end of file +def calculate(): + result = 3 * (4 + 12) + return str(result)