题目
题目

SP25: CS-174 Sec 02 - Server Web Prog Final- Requires Respondus LockDown Browser

单项选择题

Which of the following is a correct use of render_template() in a Flask route?

选项
A.return template("home.html")
B.render_template("home.html")
C.return render_template("home.html")
D.show("home.html")
查看解析

查看解析

标准答案
Please login to view
思路分析
We start by identifying what the question asks: the correct usage of render_template() inside a Flask route. Option 1: 'return template("home.html")' is not valid Flask syntax for rendering templates. There is a function named render_template, not template, and you typically return its......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!