

InterviewSolution
Saved Bookmarks
1. |
Which of the following is true for variable names in Python?(a) unlimited length(b) all private members must have leading and trailing underscores(c) underscore and ampersand are the only two special characters allowed(d) none of the mentionedThis question was posed to me in unit test.Question is taken from Variable Names in chapter Variable Names, Operators, Data Types & Numeric Types of Python |
Answer» RIGHT choice is (a) UNLIMITED LENGTH To explain I would say: VARIABLE NAMES can be of any length. |
|