Hi all
So I created a program, that gets a string from a user and then prints
the string in reverse order.
Now, here's the code;
#
print "\nWelcome !"
print "\nEnter a word, and the world will be reversed!"
word = raw_input("\nPlease Enter a word: ")
end = len(w
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
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
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