title: Problems title-casing a string in Python
body: <p>I have a name as a string, in this example "markus johansson".</p>
  
  <p>I'm trying to code a program that makes 'm' and 'j' uppercase:</p>
  
  <pre><code>name = "markus johansson"
  
  for i in range(1, len(name)):
      if name[0] == 'm':
          name[0] = "M"
      if name[i] == " ":
          count = name[i] + 1
      if count == 'j':    
              name[count] = 'J'  
  </code></pre>
  
  <p>I'm pretty sure this should work, but it gives me this error:</p>
  
  <pre><code>File "main.py", line 5 in &lt;module&gt; 
     name[0] = "M" 
  TypeError: 'str' object does support item assignment 
  </code></pre>
  
  <p>I know there is a library function called .title(), but I want to do "real programming".</p>
  
  <p>How do I fix this?</p>