31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods.
All functions should have a docstring.
Docstrings can be accessed by the ___doc_attribute on objects.
All of the mentioned.
Docstring
Python Package Index
both a & b
none of the mentioned
Interface
Modularity
Client
Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
Variable names can start with an underscore.
Data type of variable names should not be declared.
None of the above.
32
33
31
30
in
is
assert
All
Hello
949227
True
"2'
Keywords
Identifires
Token
Statement
Comments
Expressions
Tokens
Flow of control
_py_
var
_var
try
100
128
256
No Limit
raise
val
with
45
35
C
C++
JAVA
PHP
.python
.py
.p
.pyt
64
29
execute python
go python
python
run python
What will be the datatype of the var in the below code snippet?
var = 10 print(type(var)) var = "Hello" print(type(var))
Str and int
int and int
str and str
int and str
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python