Correct Answer: match looks for matches only at the start of its input, search finds strings anywhere in the input.
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
What will typing the following at the Python interpreter produce? s1 = 'Good' ; s2 = 'Morning' ; s1 s2
What will typing 'Python's great' at the Python interpreter produce?
What kind of language is Python?
Which is not an interface for a web server to communicate with a Python program?
What is the result of eval('7'), string.atoi('4'), int('7') ?
This question is based on the graphic shown below. Output of the given Python code?
Output of the following Python code? try: a=10 print (a-9) raise NameError('0') except NameError as e: print ('1') print (e) finally: print ('0')
Output of the following Python code? def recur_factorial(n): if n == 1: return 1 else: return n'recur_factorial(n-1) num = 4 if num < O: print('1') elif num = O: print('0') else: p=41+(recur_factorial(num)) p=P>>2 printlp)
Output of the following Python code? def hello(): print('0') return('1') def hello2(): print('0') hello() * 2 hello2()
Output of the following Python code? def p_ft(x): for i in range(1, x + 1): if x % i == 0: d=6/2+i print(d+9) n = 42 p_ft(n)