string help
Miki Tebeka
mtebeka at qualcomm.com
Tue Nov 15 04:30:53 EST 2005
Hello John,
> using the following program:
>
>
>
> prefixes = "JKLMNOPQ"
>
> suffix = "ack"
>
> for letter in prefixes:
>
> print letter + suffix
>
> if prefixes == "O" or "Q"
if (letter == "O") or (letter == "Q"):
>
> print letter + "u" + suffix
HTH.
--
------------------------------------------------------------------------
Miki Tebeka <mtebeka at qualcomm.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20051115/d0ff344d/attachment.sig>
More information about the Python-list
mailing list