Solved

Case Study 2: ≫>> Def SquareIt(n)

Question 17

Multiple Choice

Case Study 2:
>>> def squareIt(n) :
return n * n
>>> squareIt(3)
9
>>> squareIt(squareIt(3) )
1. ??????
>>> squareIt
<function squareIt at 0x0000022740D68E18>
>>> z = squareIt
>>> z(3)
9
>>> z
2. ??????
-Refer to the session in the accompanying Case Study 2. What is printed on line 1?


A) 9
B) 81
C) function squareIt at 0x0000022740D68E18
D) An error message

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions