Question: 1 -
In which year was the Python language developed?
-
1998
-
1989
-
1995
-
1990
Answer:
1989
Solution:
Python language was developed by Guido van Rossum in the Netherlands in 1989.
Python language was developed by Guido van Rossum in the Netherlands in 1989.
Question: 2 -
What do we use to define a block of code in Python language?
-
None of these
-
Key
-
Indentation
-
Brackets
Answer:
Indentation
Solution not available.
Question: 3 -
What is the maximum possible length of an identifier?
-
16
-
None of these
-
32
-
64
Answer:
None of these
Solution:
The maximum possible length of an identifier is not defined in the python language. It can be of any number.
The maximum possible length of an identifier is not defined in the python language. It can be of any number.
Question: 4 -
In which language is Python written?
-
php
-
C
-
C++
-
Java
Answer:
C
Solution:
Python is written in C programming language, and it is also called CPython.
Python is written in C programming language, and it is also called CPython.
Question: 5 -
Which one of the following is the correct extension of the Python file?
-
.py
-
None of these
-
.p
-
.python
Answer:
.py