Which HTTP status code is used for Bad Request in Flask?
Both the functions randint and uniform accept ____________ parameters.
What is called when a function is defined inside a class?
Given the following Python code:
x = complex(1j)
y = complex(2+2j)
print(x + y)
What is the output of the following code?
x = "456"
y = 456
print((y, x))
What will be the output of the following Python code snippet?
x=3.3456789
'%f | %e | %g' %(x, x, x)
Find the output of the following code.
n = "$$abcdabcgjrgeuabcd$$abcd$$**"
c1 = c2 = 0
c1 = n.count('abc')
c2 = n.count('abcd')
c1 -= c2
print('abc={}, abcd={}'.format(c1, c2))
How are keyword arguments specified in the function heading?
What will be the output of the following Python code?
>>> a={1,2,3}
>>> b=frozenset([3,4,5])
>>> a-b
What will be the output of the following Python code?
places = ['Bangalore', 'Mumbai', 'Delhi']
<br class="blank" />places1 = places
places2 = places[:]
<br class="blank" />places1[1]="Pune"
places2[2]="Hyderabad"
print(places)