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
Is geany a good ide?
Explain about membership operator in python?
What are python packages?
What is the output for the following code?
What is data type set in python and how to work with it?
How do I parse xml in python?
How to remove items from a list while iterating?
How is python interpreted?
How can you create a gui based application in python for client-side functionality?
What is the output of this below query?
What are migrations in python?
What is the difference between remove() function and del statement?
Difference between @staticmethod and @classmethod in python?
What is the difference between old style and new style classes in python?
What is a class method?