What is the output of:
"Romeo Juliet".isalnum()
___() method returns a list of all entities present in a module.
Which of the following is a micro-framework of Python?
What is the output of the following code?
num = 0x548
print(num)
What is the output of the following Python code?
a = dict([(1, 2), (3, 4)])
print(a)
What will be the output of the following Python code?
a=[10,23,56,[78]]
b=list(a)
a[3][0]=95
a[1]=34
print(b)
What is the output of the following code?
from itertools import takewhile
n = [2, 4, 6, 8, 10]
x = takewhile(lambda i: i % 2 == 0, n)
print(x)
def fun(n):
if (n > 100):
return n - 5
return fun(fun(n+11));
print(fun(45))
What data types can be used as keys in a Python dictionary?
Which of these is false about recursion?