Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 3
Can we change the any character of the string in python?
str="Hello moto" How to change it to Hello world?
1 Answer
+ 4
a way is:
str.replace("moto","world")
str="Hello moto" How to change it to Hello world?