Penjee.com 's Blog

Troubleshooting Bugs (Part 1): Logging in Python 3

Introduction At the end of the last lesson, we encountered a run time error in our program. In this lesson we will learn some techniques to understand and track what our program is doing and help us to identify and fix errors. This is a two parter. Part 1 is on logging. Part 2 is … Continue reading Troubleshooting Bugs (Part 1): Logging in Python 3 →

Jeroo While Loop Assignments #1 [Python]

Loop Assignment #1 A Make the map shown below by adding a flower at (0,23)  Start a Jeroo at (0,0) use a single while loop to get your Jeroo to   ( 0, 22)     Loop Assignment #1 B Make the map shown below  Start a Jeroo at (1 , 1 ) use a … Continue reading Jeroo While Loop Assignments #1 [Python] →

Jeroo While Loop If Test Assignments

Let’s write a program that solves the map below (which you should create yourself) using only 1 while loop and you will need to understand the difference between and if test and a while loop. Assignment 1) Start your Jeroo in position (1,0) and facing East. Your objective: to use a single while loop to move … Continue reading Jeroo While Loop If Test Assignments →