New course! Every coder should learn Generative AI!
Try a free lesson+ 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?