Vidyalelo
Python · Q24

MCQs for Python Strings: Exam

Programming · Python · question 24

Q24

In Python, how can you check if a string ends with a specific substring?

A.
endswith()
B.
end_with()
C.
end()
D.
finish_with()
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board