Float error?

homework
python

#1

I keep getting this error

TypeError Traceback (most recent call last)
in ()
47
48 # calculate the acceleration at the current position
—> 49 ax0,ay0 = accel(x0,y0)
50
51 # calculate new positions using eqns of motion
TypeError: ‘float’ object is not iterable


#2

Not enough information for us to provide an assessment. Please post both the problem, function(s) used and your complete code. Thanks.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.