Question: Multiple Choice Question Two function definitions are saved in the same file: A function get _ capital has one str parameter that represents a country
Multiple Choice Question
Two function definitions are saved in the same file:
A function getcapital has one str parameter that represents a country and returns its capital.
A function longer has two str parameters and returns the longer of the two strs
Variables country and country refer to str values.
Select the expression that produces the longer of the capitals of country and countryNote: the expression must include calls on both getcapital and longer.
maxgetcapitalcountry getcapitalcountry
getcapitallongercountryi country
longergetcapitalcountry getcapitalcountry
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
