Question # 2
Multiple Choice
In the program below, what is the scope of strFirst?
def usernameMaker (strFirst, strLast):
return strFirst + strLast[0]
def passwordMaker (strA, numC):
if len(strA) > 4:
answer = dogName[0:3]
return answer + str(numC)
else:
return 'xk&' + str(numC)
Responses
the function passwordMaker and the main part of the program that calls the function
the function passwordMaker and the main part of the program that calls the function
the function passwordMaker
the function passwordMaker
the function usernameMaker
the function usernameMaker
the function usernameMaker and the main part of the program calling the program
the function usernameMaker and the main part of the program calling the program