Re: Need help with a string plz! (newbie)

2007-03-13 Thread Bruno Desthuilliers
Grant Edwards a écrit : (snip) > I don't know if emacs still includes Zippy quotes > (of if they've been updated), but you used to be able to do > "esc-X yow" and emacs would show you a random Zippy quote. > It's still there. -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with a string plz! (newbie)

2007-03-12 Thread Grant Edwards
On 2007-03-12, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > "Grant Edwards" <[EMAIL PROTECTED]> wrote: >> >> Oh, thanks for the advice then. And as for Grant..look forward to >> >> seeing more of your posts. >> > >> > YOW! - some recognition at last! >> >> :) >> >> I see somebody pays attenti

Re: Need help with a string plz! (newbie)

2007-03-11 Thread Hendrik van Rooyen
"Grant Edwards" <[EMAIL PROTECTED]> wrote: > On 2007-03-10, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > ><[EMAIL PROTECTED]> wrote: > > > >> Oh, thanks for the advice then. And as for Grant..look forward to > >> seeing more of your posts. > > > > YOW! - some recognition at last! > > :) > >

Re: Need help with a string plz! (newbie)

2007-03-11 Thread Grant Edwards
On 2007-03-10, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: ><[EMAIL PROTECTED]> wrote: > >> Oh, thanks for the advice then. And as for Grant..look forward to >> seeing more of your posts. > > YOW! - some recognition at last! :) I see somebody pays attention to sigs -- which, BTW, are old quotes

Re: Need help with a string plz! (newbie)

2007-03-10 Thread Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote: > Oh, thanks for the advice then. And as for Grant..look forward to > seeing more of your posts. YOW! - some recognition at last! - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with a string plz! (newbie)

2007-03-09 Thread israphelr
On 9 Mar, 21:58, Larry Bates <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Mar 9, 9:37 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: > >> On 2007-03-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >>> I thought maybe I could create another variable and then assign each > >>> char

Re: Need help with a string plz! (newbie)

2007-03-09 Thread Larry Bates
[EMAIL PROTECTED] wrote: > On Mar 9, 9:37 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: >> On 2007-03-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >>> I thought maybe I could create another variable and then assign each >>> character into the new string by concatenating, makign a new string >

Re: Need help with a string plz! (newbie)

2007-03-09 Thread israphelr
On Mar 9, 9:37 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2007-03-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I thought maybe I could create another variable and then assign each > > character into the new string by concatenating, makign a new string > > each time, but I find this

Re: Need help with a string plz! (newbie)

2007-03-09 Thread Grant Edwards
On 2007-03-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Mar 9, 9:29 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> In <[EMAIL PROTECTED]>, israphelr >> wrote: > >> In [57]: 'reversed string'[::-1] >> Out[57]: 'gnirts desrever' > > > Sorry, I didn't understand this. First read

Re: Need help with a string plz! (newbie)

2007-03-09 Thread Grant Edwards
On 2007-03-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > # > print "\nWelcome !" > print "\nEnter a word, and the world will be reversed!" > > word = raw_input("\nPlease Enter a word: ") > > end = len(word) > end -= 1 > > for position in range(end, -1, -1): >

Re: Need help with a string plz! (newbie)

2007-03-09 Thread israphelr
On Mar 9, 9:29 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, israphelr > wrote: > In [57]: 'reversed string'[::-1] > Out[57]: 'gnirts desrever' Sorry, I didn't understand this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with a string plz! (newbie)

2007-03-09 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, israphelr wrote: > So I created a program, that gets a string from a user and then prints > the string in reverse order. In [57]: 'reversed string'[::-1] Out[57]: 'gnirts desrever' Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-l