1.

The output of executing string.ascii_letters can also be achieved by:(a) string.ascii_lowercase_string.digits(b) string.ascii_lowercase+string.ascii_uppercase(c) string.letters(d) string.lowercase_string.uppercaseThis question was addressed to me by my school teacher while I was bunking the class.The above asked question is from Strings in chapter Strings of Python

Answer» RIGHT ANSWER is (B) string.ascii_lowercase+string.ascii_uppercase

The explanation is: EXECUTE in SHELL and check.


Discussion

No Comment Found

Related InterviewSolutions