Python Programming - Console Input/Output - Discussion
Discussion Forum : Console Input/Output - General Questions (Q.No. 23)
23.
How can you check if a string ends with a specific suffix?
Answer: Option
Explanation:
To check if a string ends with a specific suffix in Python, you can use the
endswith()
method.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers