r/pythonhelp • • Sep 27 '20

Python Help (Karel)

I am working on a project for a class that has a predefined set of functions. You are still able to define your own functions. The objective is that Karel needs to follow the path to get back home. This has to work in multiple worlds. I have been semi successful in that I was able to get it to work in the first world. I have been unable to get it to word in the second world and the third world despite having been trying for the past six days. I have used breakpoint() in my code as a placeholder for when I get to that part of the problem.

Here is my code:

World 1:

World: 2

World 3:

2 Upvotes

Duplicates

CodingHelp • • Sep 27 '20

[Python] Karel Path.py

1 Upvotes