Skip to content

Instantly share code, notes, and snippets.

@bitwiser
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitwiser/9130309 to your computer and use it in GitHub Desktop.
Save bitwiser/9130309 to your computer and use it in GitHub Desktop.
if __name__=="__main__":
s = raw_input("Enter string: ")
s = s.replace('e','3').replace('E','3').replace('s','5').replace('S','5')
print 'Replaced string: {0}'.format(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment