title: What is the logic behind (' + str(i) + ')?
body: <p>I am new to programming, and stamp upon this line:</p>
  <pre><code>print('My name is')
  for i in range(5):
     print('Jimmy Five Times (' + str(i) + ')')
  </code></pre>
  <p>I don't understand this part  (' + str(i) + ')'),  to be more specific,  the + sign before and after str(i) [especially the + sign after str(i)].</p>
  <p>I know the + sign is for strings concatenation,  But in the above line,  what is combined with what?</p>
  <p>And what is the difference between the first example and say:</p>
  <pre><code>print('My name is')
  for i in range(5):
      print('Jimmy five times ' + str(i))
  </code></pre>
  <p>Can someone give an example for a similar but complex example for such use?</p>
  <p>Thanks.</p>
  <p><strong>edit:</strong>
  I realized that the string is <strong>Jimmy Five Times (</strong> ,not <strong>Jimmy Five Times</strong>, that left and right brackets confused me. Thanks all for your quick responses.</p>