MCQs > IT & Programming > Python > How often is the value of y initialized in the following class? >>> class X(): >>> def x(self,y = []): >>> return y

Python MCQs

How often is the value of y initialized in the following class? >>> class X(): >>> def x(self,y = []): >>> return y

Answer

Correct Answer: Once.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it