Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago