Bird
0
0

Which character is used to indicate a comment line in Python?

easy📝 Conceptual Q2 of 15
Python - Basics and Execution Environment
Which character is used to indicate a comment line in Python?
A/*
B//
C<!--
D#
Step-by-Step Solution
Solution:
  1. Step 1: Identify comment syntax

    Python uses the hash symbol (#) to start a single-line comment.
  2. Step 2: Check other options

    // is used in languages like C++/Java, Basics and Execution Environment" in Python

9 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Python Quizzes