On Thu, 14 Dec 2017 09:08 pm, ayaskant.mantu...@gmail.com wrote:
> Hi,
>
> I want to replace the spaces in a sting with hyphen with my own replace
> function or with using the pre-defined replace function. Can anybody help me
> with this issue???
new_string = "string with spaces".replace(" ", "h
On Thu, Dec 14, 2017 at 9:08 PM, wrote:
> Hi,
>
> I want to replace the spaces in a sting with hyphen with my own replace
> function or with using the pre-defined replace function.
> Can anybody help me with this issue???
>
Ahh, the old "I want to" as a prefix for a homework assignment.
Start
Hi,
I want to replace the spaces in a sting with hyphen with my own replace
function or with using the pre-defined replace function.
Can anybody help me with this issue???
Thanks
--
https://mail.python.org/mailman/listinfo/python-list