View Single Post
Old Jan 9th, 2007, 9:36 PM   #1
MR.T
Newbie
 
MR.T's Avatar
 
Join Date: Feb 2006
Location: USA,Michigan
Posts: 22
Rep Power: 0 MR.T is on a distinguished road
Printing part of a string from a list

testlist = ["Programming", "Forums"]
I want to print just the 3rd letter in the second cell of the list. I have tried this:
print testlist[1[2]]
But that does'nt work, I get a error saying "unsubscriptable object". What am I doing wrong?

Thanks
__________________
"Gee, Brain, what do you want to do tonight?" "The same thing we do every night, Pinky: Try to take over the world!"
MR.T is offline   Reply With Quote