[Tutor] Fw: Splitting a Tuple in Python 2.7
eire1130 at gmail.com
eire1130 at gmail.com
Tue Dec 6 03:50:38 CET 2011
Meant to send to group
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: eire1130 at gmail.com
Date: Tue, 6 Dec 2011 02:48:00
To: Greg Nielsen<gollumgreg407366 at gmail.com>
Reply-To: eire1130 at gmail.com
Subject: Re: [Tutor] Splitting a Tuple in Python 2.7
s =(1,2)
x = s[0]
Printing x above will print the digit 1.
You cando the same for the second index as well
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: Greg Nielsen <gollumgreg407366 at gmail.com>
Sender: tutor-bounces+eire1130=gmail.com at python.org
Date: Mon, 5 Dec 2011 21:31:33
To: <tutor at python.org>
Subject: [Tutor] Splitting a Tuple in Python 2.7
_______________________________________________
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