Learn how to enhance an autonomous car by avoiding roadblocks.

We’ve seen one instance of the power of generic code that can make our car an autonomous car for parking anywhere—anywhere in a straight path, that is. Let’s take our autonomous car’s code to a new parking lot. In this lesson, we’ll test our code for three challenging parking spots.

Parking straight ahead

Why don’t you complete the codePress "Enter" at the end of the first line and then write the Python instruction. that does this for our first parking spot? What do you think should keep happening while the car is unparked? You can check the solution if required.