<p><br>
On Oct 16, 2013 11:54 PM, "MRAB" <<a href="mailto:python@mrabarnett.plus.com">python@mrabarnett.plus.com</a>> wrote:<br>
><br>
> On 16/10/2013 23:39, Rotwang wrote:<br>
>><br>
>> On 14/10/2013 06:02, Steven D'Aprano wrote:<br>
>>><br>
>>> On Sun, 13 Oct 2013 20:13:32 -0700, Tim Roberts wrote:<br>
>>><br>
>>>> def add(c1, c2):<br>
>>>>       % Decode<br>
>>>>       c1 = ord(c1) - 65<br>
>>>>       c2 = ord(c2) - 65<br>
>>>>       % Process<br>
>>>>       i1 = (c1 + c2) % 26<br>
>>>>       % Encode<br>
>>>>       return chr(i1+65)<br>
>>><br>
>>><br>
>>> Python uses # for comments, not %, as I'm sure you know. What language<br>
>>> were you thinking off when you wrote the above?<br>
>><br>
>><br>
>> Maybe TeX?<br>
>><br>
> Or PostScript?</p>
<p>My money's on matlab.<br>
</p>