title: Python scramble function is too slow (Codewars 'Scramblies')
body: <blockquote>
  <p>Complete the function <code>scramble(str1, str2)</code> that returns true if a
  portion of <code>str1</code> characters can be rearranged to match <code>str2</code>, otherwise
  returns false.</p>
  </blockquote>
  <p>I've written the below solution that passes all the tests:</p>
  <pre><code>def scramble(s1, s2):
      for char in s2:
          if char not in s1:
              return False
          else:
              s1 = s1.replace(char, '', 1)
      return True
  </code></pre>
  <p>But I am getting a 'Timed Out' error when I run the code in Codewars. Is there something I can do to further optimize this code?</p>