What will be the output of the following Python code?
def writer():
title = 'Sir'
name = (lambda x:title + ' ' + x)
return name
who = writer()
who('Arthur')
def writer():
title = 'Sir'
name = (lambda x:title + ' ' + x)
return name
who = writer()
who('Arthur')A. Arthur Sir
B. Sir Arthur
C. Arthur
D. None of the mentioned
Answer: Option B

Join The Discussion