title: Converting list into String In Python
body: <p>What is the significance of <strong>(&quot;&quot;)</strong> before <strong>join</strong> method??
  What I know is that we use <em><strong>&quot;&quot;</strong>.join</em>. But here the code is working fine if though <strong>(&quot;&quot;)</strong> is used. Someone please explain.</p>
  <pre><code>(&quot;&quot;).join([map_s_to_t[s[i]] for i in range(len(s))])
  </code></pre>
  <h1>Following is my whole code...</h1>
  <pre><code>class Solution:
      def isIsomorphic(self, s: str, t: str) -&gt; bool:
          if len(set(s)) != len(set(t)):
              return False
      
          # Create a mapping of chars from  s -&gt; t
          map_s_to_t = { s[i]: t[i] for i in range(len(s)) }
      
          # Create a new string by replacing the chars in s with t
          s_replaced_with_t = (&quot;&quot;).join([map_s_to_t[s[i]] for i in range(len(s))])
          
          # if the replaced string is same as t , then True else False    
          return(s_replaced_with_t == t)
  </code></pre>