Let's say you create a video service that includes the /videos/ tab. When running the /videos/cats route, you should display the following message Here will be a video with cats. Similarly, with any other word instead of cats, change the appropriate message. For example, for /videos/hedgehogs, the message would be Here will be a video with hedgehogs.
Routes
Videos
Report a typo
Write a program in Python 3
from flask import Flask
app = Flask('main')
app.app_context()
@app.route()
def render_videos():
pass # your code here
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.