Penjee.com 's Blog

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-5a33522d6cced153547623/] Variables … Continue reading Passing by Value vs. by Reference Visual Explanation →

Letter Z Loop (Jeroo Python)

Jeroo Loop Assignment The goal of this assignment is to use a loop to have your Jeroo spell out the letter “Z”. We have adapted this Jeroo assignment for Penjee’s app, read more here. You should start your Jeroo at (0,0) and  with exactly 70 flowers like this picture: Your assignment is to spell the letter … Continue reading Letter Z Loop (Jeroo Python) →

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 →