Python में single line comment लिखने के लिए कौन सा symbol प्रयोग होता है?
Which symbol is used to write a single line comment in Python?
A
//
B
/* */
C
#
D
–
Explanation
Python में single-line comment लिखने के लिए # symbol का उपयोग किया जाता है।
🔸 Example:
यह एक comment है
print("Hello, world!") # यह भी एक inline comment है
# के बाद लिखा गया टेक्स्ट Python द्वारा ignore कर दिया जाता है।
Correct Answer: C) #