题目
SP25: CS-174 Sec 02 - Server Web Prog Final- Requires Respondus LockDown Browser
单项选择题
What is the correct way to comment a single line in Python?
选项
A.// This is a comment
B./* This is a comment */
C.# This is a comment
D.<!-- This is a comment -->
查看解析
标准答案
Please login to view
思路分析
The question asks about the proper way to denote a single-line comment in Python.
Option 1: '// This is a comment' uses two forward slashes, which is the syntax for comments in languages like C++, Java, and JavaScript, not Python. In Python, this would just be treate......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!