Re: [Tutor] Help needed

2009-06-16 Thread ayyaz
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

Re: [Tutor] Help..Concatenaton Error

2009-06-11 Thread ayyaz
___ 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 ___

Re: [Tutor] Need a Solution!

2009-06-11 Thread 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

Re: [Tutor] Simple factorial program

2009-06-11 Thread ayyaz
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 _

Re: [Tutor] Need help solving this problem

2009-06-10 Thread 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

Re: [Tutor] What is nntp news reader address for this mailing list?

2009-06-10 Thread ayyaz
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

Re: [Tutor] What is nntp news reader address for this mailing list?

2009-06-09 Thread ayyaz
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, >>>