[CentralOH] chr()/ord() Ugliness

Eric Miller miller.eric.t at gmail.com
Mon Nov 11 15:56:02 CET 2013


assuming you want to return the character whose unicode value is 'i'
greater that that of 'A', I can't imagine there is a better way to
accomplish it than what you have written.  Maybe provide some context and
share what you feel is wrong with that approach?


On Mon, Nov 11, 2013 at 9:51 AM, <jep200404 at columbus.rr.com> wrote:

> What is a better way of accomplishing the following?
>
>     chr(ord('A') + i)
>
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20131111/37ded02d/attachment.html>


More information about the CentralOH mailing list