title: How to change a string into uppercase
body: <p>I have problem in changing a string into uppercase with Python. In my research, I got <code>string.ascii_uppercase</code> but it doesn't work.</p>
  
  <p>The following code:</p>
  
  <pre><code> &gt;&gt;s = 'sdsd'
   &gt;&gt;s.ascii_uppercase
  </code></pre>
  
  <p>Gives this error message:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
  AttributeError: 'str' object has no attribute 'ascii_uppercase'
  </code></pre>
  
  <p>My question is: <strong>how can I convert a string into uppercase in Python?</strong></p>