PCAP Exam QuestionsBrowse all questions from this exam

PCAP Exam - Question 127


What is the expected behavior of the following code?

Show Answer
Correct Answer: A

A

Discussion

3 comments
Sign in to comment
macxszOption: A
May 4, 2022

as it is: A. it raises an exception

Bonesaw
Jan 9, 2024

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().

Damon54Option: D
Feb 9, 2024

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