Company: INTEL

Difficulty: medium

Problem Statement

Python Call Passing the Same Argument Positionally and by Keyword def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): print "-- This parrot wouldn't", action, voltage parrot(110, voltage=220) What is the output of above expression?

More INTEL OA questionsInterview experiences