Home
Download App
Study Material
{{ shortTitle }}
Video Lessons
Practice Tests
Ask Doubts
Pricing
JOIN NOW
Computer Science
Which of the following functions removes all leading and trailing spaces from a string?
lstrip()
rstrip()
strip()
all of these
Python String Manipulation
7 Likes
Answer
strip()
Answered By
1 Like
Related Questions
Choose the correct function to get the character from ASCII number.
View Answer
Bookmark Now
s = ' '(single space). Then s.isalnum() will return.
View Answer
Bookmark Now
Which of the following functions will raise an error if the given substring is not found in the string?
View Answer
Bookmark Now
Fill in the blanks:
The string indexes begin _________ onwards.
View Answer
Bookmark Now