Python Quiz
251. What is the output of:
print(bool('False'))
252. Which of these data structures is best for fast membership testing?
253. What will be the output of:
x = [1, 2, 3]
y = x[:]
x.append(4)
print(y)
254. What is the output of:
print('2' + '3' * 2)
255. Which of these methods modifies the original list?
256. Which of the following exceptions is raised when a variable is not defined?
257. Which operator is used to unpack function arguments from a list or tuple?
258. What is the output of:
print(list(map(lambda x: x*2, [1, 2, 3])))
259. Which file mode is used to create a new file or overwrite if it exists?
260. What will be the output of:
print({1, 2, 3} - {2})