1.

Which of the following is invalid?(a) _a = 1(b) __a = 1(c) __str__ = 1(d) none of the mentionedThe question was asked during a job interview.My question is from Variable Names in section Variable Names, Operators, Data Types & Numeric Types of Python

Answer»

Correct choice is (d) NONE of the mentioned

Easiest EXPLANATION - All the STATEMENTS will execute successfully but at the COST of REDUCED readability.



Discussion

No Comment Found

Related InterviewSolutions