WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is this an example of? /* This is a multi-line comment */
|
Syntax
|
|
Property
|
|
Value
|
|
Comment
|
Explanation:
Detailed explanation-1: -Multiline comments are used for large text descriptions of code or to comment out chunks of code while debugging applications. Comments are ignored by the compiler.
Detailed explanation-2: -print("Hello, World!") As long as the string is not assigned to a variable, Python will read the code, but then ignore it, and you have made a multiline comment.
Detailed explanation-3: -/* Multi-line comments */ Allows you to add explanatory text to code. The comment begins with /* and ends with */. This type of comment can wrap over multiple lines.
Detailed explanation-4: -To comment out multiple lines in Python, you can prepend each line with a hash ( # ).
There is 1 question to complete.