Credit: Written by Tyler Conklin, based on past editions of this assignment as created by Mehran Sahami, Keith Schwarz, Eric Roberts, and others.
Handouts: Karel Reference
File: midpoint.py
This is a bonus program! It's meant to be challenging.
Program Karel to place a single beeper at the center of 1st street. If Karel starts in the world below:
then Karel should finish in the center of 1st street after placing a beeper there as shown below.
Note that Karel finishes with just a single beeper placed at the center of 1st street. Karel may place more beepers than just this one, but must pick up the extra beepers before finishing at the midpoint.
You are guaranteed the following facts and assumptions:
Remember that you may only use Karel syntax and cannot use Python variables. This problem is difficult because Karel cannot count. There are many different ways to solve this problem, so have fun coming up with a creative approach!