In Python, a comment starts with which sign?
ACash
BSash
CHash
DDash
Answer & Solution
Correct answer: C. Hash
1. A note for the reader must be marked so the interpreter skips it.
2. One character does that marking.
3. In Python, a comment starts with the hash sign.
4. Everything after it on that line is ignored.
_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_
Keep practising Python Programming
Browse all Python Programming questions for BCA, or explore more Computer Science topics.