Skip to content

Instantly share code, notes, and snippets.

@ilyasozkurt
Created February 15, 2023 11:17
Show Gist options
  • Save ilyasozkurt/702a5bf698e0f9641628a541af380481 to your computer and use it in GitHub Desktop.
Save ilyasozkurt/702a5bf698e0f9641628a541af380481 to your computer and use it in GitHub Desktop.
text = "apple banana cherry"
new_text = text.replace("a", "b")
print(new_text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment