The app.run function is blocking. So, any statements after the function are not executed. This is why you don't see the print statement. I suggest printing the output before running the app using app.run.
app.run
print