Penjee.com 's Blog

Water is bad [A Penjee Challenge]

We are working hard on creating our first set of Penjee challenges. We break our challenges up into units. In the first unit, the goal is to master some basic Penjee syntax . Things like how to make a penguin: [crayon-6700bd2ee48ee037283714-i/] , how to waddle()[crayon-6700bd2ee48f8627317516-i/] and how to grab() a fish [crayon-6700bd2ee48fb460759481-i/] In this assignment, the student … Continue reading Water is bad [A Penjee Challenge] →

Passing by Value vs. by Reference Visual Explanation

    When writing software code, you will spend a lot of time defining, reading and changing variables. Using a variable means you use a descriptive word in your code which holds some information (a number, some text, an object, etc.). This descriptive word is the “title” of the stored information. For example: [crayon-6700bd2ee5fe7360385970/] Variables … Continue reading Passing by Value vs. by Reference Visual Explanation →

Variables in Python 3 – Part 2: Text

Introduction Lets continue with the idea of a video game that we introduced in the first part of this article. Imagine your player has a name. This could be hard coded, but what if the player gets to pick the name, in which case it is dynamic. This would be a case where a text … Continue reading Variables in Python 3 – Part 2: Text →