Are nested if-else are allowed in Python?
Which is used to define a block in Python?
Syntax of default constructor
Find the output of the following code:
>>> str='Hello\nWorld'
>>> str
If return statement is not used inside the function, the function will return:
what will be the output of the following program?
print (20+5.1*2+(16/2*2))/31.0
Which predefined Python function is used to find the length of the string?
What will be the output of the following Python statement?
>>>print('new' 'line')
2
What will be the output of the following Python code?
a = [13, 56, 17]
a.append([87])
a.extend([45, 67])
print(a)
1
2
3
4
What does the function math.frexp(x) return?
1
2
3
4