Computer Science
Each statement in Python is terminated by …………… .
- Semicolon (;)
- Colon (:)
- Comma (,)
- None of these
Python Funda
2 Likes
Answer
None of these
Reason — There is no demarcation or symbol in Python to indicate the termination of a statement. When we end typing a statement in Python by pressing the Enter key, the statement is considered terminated by default.
Answered By
2 Likes
Related Questions
What will be the output of the following snippet?
x, y = 2, 6 x, y = y, x + 2 print(x, y)- 6 6
- 4 4
- 4 6
- 6 4
Which of the following is not in Python character set?
- Letters: A - Z or a - z
- Digits: 0 - 9
- Whitespaces: blank space, tab, etc.
- Images: Vector
The extension for a Python file is given as:
- .pt
- .pwy
- .py or .pyw
- .yppy
The reserved words used by Python interpreter to recognize the structure of a program are termed as …………… .
- Identifiers
- Tokens
- Literals
- Keywords