[Tutor] matrix q? print the first column of matrix

evros loizides loizie@hotmail.com
Sat Jun 7 13:10:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C32CED.A041E450
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

i am try to print the columns of a square matrix but i getting only the
first number
for example  myMatrix = [[2,3,4],[4,5,6],[7,8,9]]
i want to print the first column only .
how can i do that?
 
 

------=_NextPart_000_0001_01C32CED.A041E450
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial size=3D2>i am =
try to print=20
the columns of a square matrix but i getting only the first=20
number</FONT></SPAN></DIV>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial size=3D2>for =
example&nbsp;=20
myMatrix =3D [[2,3,4],[4,5,6],[7,8,9]]</FONT></SPAN></DIV>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial size=3D2>i want =
to print the=20
first column only .</FONT></SPAN></DIV>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial size=3D2>how =
can i do=20
that?</FONT></SPAN></DIV>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D280070317-07062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0001_01C32CED.A041E450--