Re: [Tutor] paper scissors

2011-09-24 Thread bodsda
bob gailer Sender: tutor-bounces+bodsda=googlemail@python.org Date: Fri, 23 Sep 2011 15:02:44 To: *tutor python Subject: Re: [Tutor] paper scissors ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.o

Re: [Tutor] paper scissors

2011-09-23 Thread R. Alan Monroe
>> There are 2 things I don't understand. >> 1. the %s >> 2. the (wins,loses) Did you ever play Mad Libs when you were a kid? http://en.wikipedia.org/wiki/Madlibs Same concept. The %s in Python is just like the blank spaces in a Mad Lib game. The items in parentheses after a percent sign are th

Re: [Tutor] paper scissors

2011-09-23 Thread bob gailer
On 9/23/2011 2:04 PM, Joseph Shakespeare wrote: Wow, thanks so much! This is amazing! One question though. I understand everything in the program except these 2 lines: Wins: %s Loses:%s""" % (wins,loses) There are 2 things I don't understand. 1. the %s 2. the (wins,loses) Any explanation you

Re: [Tutor] paper scissors

2011-09-22 Thread bob gailer
On 9/22/2011 1:04 PM, Joseph Shakespeare wrote: Hello, Hi - please use a meaningful subject line - I've changed it this time I am new Python (about 2 weeks) and need some help. I am making a rock paper scissors game that a user can play with the computer by using a while loop and if elif el