Answer Posted / glibwaresoftsolutions
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
How are arguments passed - by reference or by value?
Explain me what is pass in python?
What does slicing mean in python?
Tell me how memcached should not be used in your python project?
What is the cost of python certification?
Which is best framework for python?
What do you understand by python generator?
Is python written in python?
How many types of objects does python support?
When python was founded?
What is the maximum possible length of an identifier?
What is a super constructor?
What is an iterator in python?
What does kwargs mean?
What are the two main data types in python?