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 do I run notepad ++ in python?
What is the purpose of __ init __?
What is class inheritance in python?
What are the optional statements that can be used inside a
What good is recursion?
How to check whether a module is installed in python?
How do python thread safe?
How to count the occurrences of a list item?
What is the proper way to say good bye to python?
What is the interactive mode?
Python has something called the dictionary. Explain using an example
Is cython as fast as c?
How do you represent binary and hexadecimal numbers?
What is the scipy?
Is javascript better than python?