daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Dec 15th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string="Octopus"
  2. if "Octopus" in string:
  3.     string.replace("Octopus","10")
  4. if "Oct" in string:
  5.     string.replace("Oct","10")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top