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-662b7015ca39d362154427-i/] , how to waddle()[crayon-662b7015ca3a5699096934-i/] and how to grab() a fish [crayon-662b7015ca3a9014922740-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-662b7015ca9b5811994899/] 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 →