Question: Python. Refer to the github for code https://github.com/selango2017/roomba Can someone help me with debugging the function started at line 387 def showPlot2(title, x_label, y_label): I

Python.

Refer to the github for code

https://github.com/selango2017/roomba

Can someone help me with debugging the function started at line 387 def showPlot2(title, x_label, y_label):

I keep getting these errors:

File "C...\ps06\ps6.py", line 425, in 'Time / steps') File "C:...\ps06\ps6.py", line 408, in showPlot2 times1.append(runSimulation(2, 1.0, width, height, 0.8, 200, StandardRobot)) File "C:....ps06\ps6.py", line 294, in runSimulation room = RectangularRoom(width, height) File "C:....\ps06\ps6.py", line 115, in __init__ for y in range(self.height): TypeError: 'float' object cannot be interpreted as an integer

Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!