What is the output of "Dummy Text is my text".strip('Te') -
Correct Answer: None of these
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
Which of the following statements are true?
Consider the code, and choose the correct statement: class A: def __init__(self, i = 0): self.i = i class B(A): def __init__(self, j = 0): self.j = j def main(): b = B() print(b.i) print(b.j) main()
Check whether an object x is an instance of class A, use _____.?
Which statement would create an instance of Firm class correctly?
In the following code, what will be printed ? class parent: def __init__(self, param): self.v1 = param class child(parent): def __init__(self, param): self.v2 = param obj = child(5) print '%d %d' % (obj.v1, obj.v2)
It is possible to use encoding other than ASCII in Python source files. The best way to do it is to put one more special comment line right after the #! line to define the source file encoding. Which of the following is the correct statement to define encoding?
Which is the correct prototype of the string.find() function?
Which function can change the maximum level of recursion?
Which variable store parameter passed from outside?
Which is the main features of Python?