Examveda

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')

A. Arthur Sir

B. Sir Arthur

C. Arthur

D. None of the mentioned

Answer: Option B


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python