[Tutor] exercise problem
bob gailer
bgailer at gmail.com
Fri Aug 27 18:00:23 CEST 2010
I have been reading your posts and responses. I find myself frustrated
with your lack of understanding of Python fundamentals and the time and
energy others are putting in that seems to help only a little.
I recommend you take a very basic tutorial, and be sure you understand
the basic concepts before tackling what seems too hard for you.
Also I encourage you to take each error message and look up the topic.
In this case
getal1 = getal1 + u[teller,0] + v[teller,0]
TypeError: list indices must be integers, not tuple
What does this error tell you?
What is a tuple? What is an integer? Where is there a tuple in this
expression? What are you trying to do?
Look up list indexing and see if you can solve it yourself, then return
with any questions that arise from this effort.
The more you do for yourself the faster and better you will learn and we
will be more encouraged to help.
How does this sound to you? Will you give it a try?
--
Bob Gailer
919-636-4239
Chapel Hill NC
More information about the Tutor
mailing list