Answer Posted / nashiinformaticssolutions
Python's strip() and replace() functions can be used to eliminate spaces from a string. The replace() function eliminates all of the white spaces in the string, while the strip() function eliminates the leading and following white spaces.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do u want this job?
Explain a few methods to implement functionally oriented programming in python?
What are the types of variables in python?
Why are tuples immutable?
What is python lint?
Is r similar to python?
Is python based on c?
What is difference between list and set in python?
What happens when you execute python == python?
When would you use a break statement in a for loop?
What are its benefits of flask?
Is vs in python?
is Python similar to ruby?
Can python be used for web client and web server side programming? And which one is best suited to python?
What is a super constructor?