arrays help
Gabe Newcomb
Gabe.Newcomb at noetix.com
Tue Mar 19 17:36:41 EST 2002
if l = [['a','b'],'dog','cat'],
then l[0][1] = 'b'.
Is that what you meant?
Gabe
-----Original Message-----
From: Umesh Persad [mailto:upersad at tstt.net.tt]
Sent: Tuesday, March 19, 2002 6:24 PM
To: python-list at python.org
Subject: arrays help
Hi,
I am just getting started with Python from a c/c++ and Java
background. I am programming a game and I wanted to
represent a gameboard by a double subscripted array.
How do I do this in Python? Thanks,
Umesh
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list