Python function that works the same as s.upper
<p>So I am trying to create a function that capitalizes all of the letters of a string the same way s.upper would do, but in the format of a function. And I want to try to utilize ord() and chr() but stating that if the character of a string is >90 replace it with the character that is 32  less than the original ore. I feel like I have some of the pieces, but Im not sure how to actually put it together. I know I need a string accumulator, but how to fit them all together is not coming to me. So far I have this:</p>

<pre><code> def Uppercase(s):
     x = ''
     for ch in s:
     x = -----&gt; confused about what the accumulation would be
     if ch ord() &gt; 91:
         s.replace(ch, chr(ord())-----&gt; not sure that this is possible to implement
</code></pre>
