How can you redirect a user to another URL in Flask?
a) redirect()
b) url_for()
c) render_template()
d) send_file()
Answer:
a) redirect()
Explanation:
The redirect() function in Flask is used to redirect users to a different URL.
The redirect() function in Flask is used to redirect users to a different URL.