Python Flask Basics Welcome to Flask Multiply View

Carlos Campos
Carlos Campos
Full Stack JavaScript Techdegree Student 6,425 Points

what is wrong?

not sure what I'm doing wrong
from flask import Flask

app = Flask(__name__)

def multiply(num1=5, num2=5):
    R = int(num1) * int(num2)
return str(R)

1 Answer

You have misspelled multiply here:


and your return statement should be indented