[Tutor] (no subject)

jfouhy@paradise.net.nz jfouhy at paradise.net.nz
Thu May 26 02:55:41 CEST 2005


Quoting John Carmona <jeannot18 at hotmail.com>:

> The next step is to use the built-in functin ord() in order to convert
> each character to an ASCII integer. I have had a look at the ord() function
> but it says that it only take one argument i.e. ord('a'). How could I
> execute to convert each character into an ASCII integer?

The chr() function only takes one argument (eg: chr(97)).  How did you use it to
convert each integer into an ASCII character?

-- 
John.


More information about the Tutor mailing list