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-5f0a313ca8b3e092976867-i/] , how to waddle()[crayon-5f0a313ca8b47730717596-i/] and how to grab() a fish [crayon-5f0a313ca8b4b383419928-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-5f0a313ca920b827512181/] 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 →