put("\nPlease enter a message to print backwards: ")
x = range(0,len(msg))
x.reverse()
for i in x: print msg[i],
--ayyaz
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hello Randy,
You have two plus signs after "+ "ibly impressive. " \.
That might be the problem.
Post the code if you can.
Thanks,
--ayyaz
___
Raj Medhekar wrote:
This email contains another modified code that I tried working with but
still doesn't do the job right, although performs closer to what i want.
I have been having some difficulty modifying this program to where a
player has limited number of guesses and if he fails to guess
odify your code as follows:
factorial = int(raw_input("\nPlease enter a non-negative integer: "))
for i in range(1,factorial):
factorial *= i
print "Factorial:", factorial
raw_input("\nPress enter to exit")
I hope this helps.
--ayyaz
_
Raj Medhekar wrote:
I have been teaching myself Python using a book. The chapter I am on
currently, covers branching, while loops and program planning. I am
stuck on on of the challenges at the end of this chapter, and I was
hoping to get some help with this. Here it is:
Write a program that
testing again
ayyaz wrote:
Testing
"Zia" wrote in message
news:h0mqv0$b0...@ger.gmane.org...
Thanks
It works now.
http://www.parglena.co.uk/outlookexpress.htm
-Zia
"Emile van Sebille" wrote in message
news:h0mpjl$7b...@ger.gmane.org...
On 6/9/2009 3:38 PM Moha
Testing
"Zia" wrote in message
news:h0mqv0$b0...@ger.gmane.org...
> Thanks
> It works now.
>
> http://www.parglena.co.uk/outlookexpress.htm
>
> -Zia
> "Emile van Sebille" wrote in message
> news:h0mpjl$7b...@ger.gmane.org...
>> On 6/9/2009 3:38 PM Mohammad Khawar Zia said...
>>> Hello All,
>>>