![]() |
#2
|
|||
|
|||
The raw_input function returns a string object, which cannot be used as an index in a list. You will need to convert the string to an integer first:
Code:
index = int(y) print x[index] |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
export problem | bazelaisr | Vizard | 2 | 05-28-2008 10:19 AM |
5DT Data Glove 5 Ultra Problem | bjgold | Vizard | 1 | 08-08-2006 04:08 PM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |
sound problem | alaa | Vizard | 7 | 09-02-2005 01:13 PM |
problem with input boxes | shai | Vizard | 6 | 08-15-2005 10:51 AM |