Informatics Practices
Single line comments in Python begin with …………… symbol.
- #
- "
- '''
- %
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
Identifier name cannot be composed of special characters other than …………… .
- #
- Hyphen (-)
- Underscore (_)
Python takes …………… indented spaces after the function declaration statement by default.
- 5
- 6
- 4
- 3
Which of the following does not represent a complex number?
- K = 2 + 3j
- K = complex(2,3)
- K = 2 + 3i
- K = 4 + 3j
What is the order of precedence of arithmetic operators given below in Python?
(1) Parenthesis
(2) Exponential
(3) Multiplication
(4) Division
(5) Addition
(6) Subtraction- 1,2,3,4,5,6
- 2,3,4,5,6,1
- 1,3,2,6,4,5
- 4,6,5,2,3,1