What is the expected behavior of the following code?
What is the expected behavior of the following code?
A
maybe is the_list = "1,2 3" .split() the_string = '' .join (the_list) print (the_string.isdigit()) D. it outputs False
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().
as it is: A. it raises an exception