Hi, check the code twice before give your answers. If you read correctly the code if you execute it you will see that as it's wrote the response is an exception, so the answer is A.
Normally, you need to answer as you have in the questionnaire
C. False
typo in alpha()
The first line of code creates a list with one element, which is ‘alpha;beta;gamma’. However, the delimiter used in the split method is ‘:’ instead of ‘;’, so the list will only contain one element.
The second line of code joins all elements in the list into a single string, which will be ‘alpha;beta;gamma’.
The third line of code checks if the string ‘alpha;beta;gamma’ contains only alphabetic characters, which is False because it contains ‘;’.
Another question with a possible typo. Is it supposed to be 'isalpha()' or 'isaplpha()'?
Using 'isalpha()' gives a False and using 'isaplpha()' gives an error
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Bonesaw
10 months agoroncr
1 year agomplopez
1 year, 3 months agoaferiver
1 year, 7 months agocarpmatias
2 years, 6 months agomacxsz
2 years, 6 months agosadako11
2 years, 9 months agolukaki
3 years agoEfren
3 years agomazimir
3 years, 1 month agoHrishi8888
3 years, 1 month ago