Informatics Practices

Single line comments in Python begin with …………… symbol.

  1. #
  2. "
  3. '''
  4. %

Python Funda

1 Like

Answer

#

Reason — Single line comments in Python begin with # symbol.

For example,

x = 10
y = x + 100 #value of x + 100 is assigned to variable y
print(y)

Answered By

3 Likes


Related Questions