ExamVeda
Login
Home
71
What will be the output of the following Python code snippet?
print('\t'.isspace())
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
72
What will be the output of the following Python code snippet?
print('xyyxyyxyxyxxy'.replace('xy', '12', 0))
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
73
To concatenate two strings to a third what statements are applicable?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
74
If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
75
What will be the output of the following Python code snippet?
print('{:#}'.format(1112223334))
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
76
Which of the following statement prints hello\example\test.txt?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
77
What will be the output of the following Python code snippet?
print('abc'.islower())
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
78
What will be the output of the following Python statement?
>>>print(chr(ord('b')+1))
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
79
What will be the output of the following Python code?
print("abcdef".center(10, '12'))
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
80
What will be the output of the following Python code?
print("Hello {0} and {1}".format('foo', 'bin'))
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board