Multiple Choice
Which of the following string methods can be used to determine if a string contains only '\n' characters?
A) ischar()
B) isalpha()
C) istab()
D) isspace()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: What will be assigned to the string
Q3: Indexing of a string starts at 1
Q4: If the + operator is used on
Q5: Which list will be referenced by the
Q6: Which method would you use to determine
Q7: The strip() method returns a copy of
Q9: What will be assigned to s_string after
Q11: Which method would you use to determine
Q14: Indexing works with both strings and lists.
Q15: Each character in a string has a(n)_