Newb ?

Chad Everett everettcc at hotmail.com
Tue Nov 15 23:21:29 EST 2005


"Paul Watson" <pwatson at redlinepy.com> wrote in message 
news:3tvpqaFv0q48U1 at individual.net...
> Chad Everett wrote:
>> Hello all,
>>
>> Have a problem here with a challenge from a book I am reading.
>> Any help is much appreciated.
>>
>> I am trying to run a program that asks the user for a statement and then 
>> prints it out backwards.
>> this is what I have.
>> It does not print anything out.  I assume that I have something out of 
>> whack with my high and low statements.
>>
>> Thanks for you help.
>>
>>
>> print "\n\nWelcome to the Backwards Message Display."
>> print
>> message = raw_input("\nPlease Enter a Message.")
>>
>> high = len(message)
>> low = -len(message)
>> print
>> print message[high:low]
>> print
>> print raw_input("Please Press Enter to Exit")
>
> Are you sure that this is not a class assignment?  You can search the 
> messages here for the answer.

No,  I have been out of school way too long.  I am 34 trying to learn a new 
trade.  I searched the group for the term backwards but I did not get any 
results. 





More information about the Python-list mailing list