![]() |
Printing part of a string from a list
:
testlist = ["Programming", "Forums"]:
print testlist[1[2]]Thanks |
You're close.
The correct syntax is :
print testlist[1][2]:) |
^^^^gack, always close but no cigar with me :p. Thank you very much for the help.
|
| All times are GMT -5. The time now is 1:50 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC