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
What do you understand by deque in python?
What is abs in python?
What good is recursion?
Whats the difference between input() and raw_input()?
What does .join mean in python?
What do you mean by *args and **kwargs?
Which database is best with python?
What is the length of your largest python code? Can you please describe the project?
name few python modules for statistical, numerical and scientific computations?
How do I know my python version?
What are the benefits of using python? What do you understand of pep 8?
How will you check if all characters in a string are alphanumeric?
How do you extend in python?
How to use gui that comes with python to test your code?
What are private methods in python?