

InterviewSolution
Saved Bookmarks
1. |
To return the length of string s what command do we execute?(a) s.__len__()(b) len(s)(c) size(s)(d) s.size()This question was posed to me in an international level competition.Asked question is from Strings in section Strings of Python |
Answer» Right choice is (a) s.__len__() |
|