Solved

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

Question 14

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. What is printed on line 2?


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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents