1.

Which of the following will not be returned by random.choice(“1 ,”)?(a) 1(b) (space)(c) ,(d) none of the mentionedThis question was addressed to me in an internship interview.I want to ask this question from Random Module in chapter Mapping Functions and Modules of Python

Answer» RIGHT answer is (d) none of the mentioned

Best EXPLANATION: Any of the characters PRESENT in the string MAY be returned.


Discussion

No Comment Found

Related InterviewSolutions