fixed math
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-28 19:57:21 +01:00
parent 70b154d111
commit b4458ae536
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
3 changed files with 7 additions and 5 deletions

View File

@ -1,2 +1,3 @@
.git/ .git/
*.md *.md
venv/

2
.gitignore vendored
View File

@ -128,4 +128,4 @@ dmypy.json
# Pyre type checker # Pyre type checker
.pyre/ .pyre/
.idea/

7
app.py
View File

@ -1,7 +1,8 @@
from flask import Flask from flask import Flask
app = Flask(__name__) app = Flask(__name__)
@app.route('/') @app.route('/')
def calculatehard(): def calculate():
result = 3 * 4 + 12 result = 3 * (4 + 12)
return str(result) return str(result)