[VISIBLE ONLY LOCALLY] Optionally view what the website will look like at another time (in PDT):
Credit: Written by Lisa Yan
Your goal is to fill every odd row of Karel's world with beepers. For example, if you ran your program on the world on the left, it should produce the world on the right.
Here are some tips:
Your program should also work for worlds of different sizes. For example if we run the EXACT same program on this slightly larger world, Karel should still be able to place stripes of beepers without crashing. This means we can't use a for loop. We don't know before hand how big the world is going to be!
Try to get your program to work on worlds with an odd number of rows first. Then if you have time, edit your code to work on worlds with any number or rows, even or odd.
Note that Karel should still work on the below world as well:
Congrats on finishing this part! If you have time, try editing your code to work with an even number of rows, like below.