Replace Sunstring

[Solved] Replace Sunstring | Vb - Code Explorer | yomemimo.com
Question : replace sunstring

Answered by : sachin-verma

text = 'bat ball'
# replace b with c
replaced_text = text.replace('b', 'c')
print(replaced_text)
# Output: cat call

Source : | Last Update : Sat, 10 Dec 22

Answers related to replace sunstring

Code Explorer Popular Question For Vb