Exam PCAP All QuestionsBrowse all questions from this exam
Question 127

What is the expected behavior of the following code?

    Correct Answer: A

    A

Discussion
Damon54Option: D

maybe is the_list = "1,2 3" .split() the_string = '' .join (the_list) print (the_string.isdigit()) D. it outputs False

Bonesaw

Not a big fan of this one. I think it's supposed to be .join which would allow it to get past that part. But then it throws another error for insight().

macxszOption: A

as it is: A. it raises an exception