Explanation:Slice operation is performed on string. 3. The output of executing string.ascii_letters can also be achieved by:
A. string.ascii_lowercase_string.digits
B. string.ascii_lowercase+string.ascii_upercase
C. string.letters
D. string.lowercase_string.upercase
Answer:A
Explanation:Slice operation is performed on string. 3. The output of executing string.ascii_letters can also be achieved by:
A. string.ascii_lowercase_string.digits B. string.ascii_lowercase+string.ascii_upercase C. string.letters D. string.lowercase_string.upercase
Explanation:Execute in shell and check. 4. What is the output when following code is executed ?