[Tutor] paper scissors

bodsda at googlemail.com bodsda at googlemail.com
Sat Sep 24 14:55:07 CEST 2011


The %s signifies that a string will be provided to go there.

The % after the string signifies that the following variable/strings/tuple will contain the items to be placed where the %s's are (in order)

The tuple (wins, losses) are the two items that should replace the %s's 

Be aware that there are other place holders such as %i and %d that expect a certain data type. With %s, if it is not a string that is given to it, it will attempt to be converted to a string first.

Hope this helps,
Bodsda  
Sent from my BlackBerry® wireless device

-----Original Message-----
From: bob gailer <bgailer at gmail.com>
Sender: tutor-bounces+bodsda=googlemail.com at python.org
Date: Fri, 23 Sep 2011 15:02:44 
To: *tutor python<tutor at python.org>
Subject: Re: [Tutor] paper scissors

_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list