---------- Forwarded message ----------
Date: Thu, 14 Apr 2005 00:41:40 -0500
From: Jim and Laura Ahl <[EMAIL PROTECTED]>
To: Danny Yoo <[EMAIL PROTECTED]>
Subject: Re: [Tutor] Python backwards program

I thought you were on me a bit but I am so frustrated at this point.  My 
instructor wrote and told me it was easy.  So if it is easy why am I having so 
much trouble.  I figured the other three programs by just reading the book and 
working on the computer.  Does the 2.2 python have the ability to do this?

I think that the program will work with something like this in an expanded form.

The following gives me the last letter of the string.

backwords=raw_input("enter number or string:")
print backwords[-1]

I have looked on a couple of sites and it says to use
s.reverse()
this does not work for some reason

Jim
  ----- Original Message -----
  From: Danny Yoo
  To: Jim and Laura Ahl
  Cc: Tutor ; Feziwe Mpondo
  Sent: Thursday, April 14, 2005 12:24 AM
  Subject: Re: [Tutor] Python backwards program




  > We're not going to do your homework problems; please understand that we
  > actually don't care if you get your homework done.  And I really hope that
  > people don't just start blurting stuff at Jim for the other three homework
  > problems he's dumping on us.

  Hi Jim,

  Ok, I screwed up big time today, and I'd better say this in public, so
  that people know that I made a huge mistake.  I usually make small ones
  that can be easily corrected, but I get the feeling I did damage today,
  and I wish I could take it back.

  Jim, I sincerely apologize about snapping at you like that.  I was wrong
  to do so, especially since I completely misread your sentence.  I thought
  you were saying that those were three other problems that you had to do
  soon, when you had actually wrote that those were three programs that you
  had written already.

  But even so, I had no excuse to say things like that.  I will try to
  better answer your questions, without making such stupid mistakes.  And I
  hope that folks on the list will forgive me for the bad temper in my last
  emails.

  Sincerely,
  Danny Yoo


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to