What Will Be The Output Of The Following Python Codep Pre #659
What will be the output of the following Python code?</p> <pre><code class="language-python" line="1"> def writer(): title = 'Sir' name = (lambda x:title + ' ' + x) return name who = writer() print(who('Arthur')) </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Functions - Python Function - Quiz No.3.
What will be the output of the following Python code?
def writer(): title = 'Sir' name = (lambda x:title + ' ' + x) return name who = writer() print(who('Arthur'))
Arthur Sir
Sir Arthur
Arthur
None of the mentioned