fixed math
continuous-integration/drone/push Build is passing Details

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/
*.md
*.md
venv/

2
.gitignore vendored
View File

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

7
app.py
View File

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