Complete the code to import the function used for URL building in Flask.
from flask import [1]
The url_for function is imported from Flask to build URLs for routes.
Complete the code to build a URL for the 'home' route using url_for.
link = url_for('[1]')
The string passed to url_for should match the route function name, here 'home'.
Fix the error in building a URL for the 'profile' route that requires a user_id parameter.
url = url_for('profile', [1]=42)
The parameter name must match the variable part in the route, here 'user_id'.
Fill both blanks to build a URL for the 'post' route with post_id 10 and comment_id 5.
url = url_for('[1]', post_id=[2], comment_id=5)
The route name is 'post' and the post_id parameter should be 10 as a number.
Fill all three blanks to build a URL for the 'edit_user' route with user_id 7 and section 'profile'.
url = url_for('[1]', [2]=[3], section='profile')
The route name is 'edit_user', the parameter name is 'user_id', and the value is 7.