Palindrome

Ben Finney bignose-hates-spam at and-benfinney-does-too.id.au
Wed Nov 12 23:52:58 EST 2003


On 13 Nov 2003 03:31:35 GMT, Runic911 wrote:
> Does anyone know how i can fix my Palindrome program?
> 
> i = 0
> h = 0
> t = 0
> p = ''
> z = 0

You can start by using mnemonic variable names.  These ones make the
algorithm a chore to read.  Feel free to re-post it when you've done so.

-- 
 \       "I believe in making the world safe for our children, but not |
  `\    our children's children, because I don't think children should |
_o__)                                  be having sex."  -- Jack Handey |
Ben Finney <http://bignose.squidly.org/>




More information about the Python-list mailing list