• Skip to primary navigation
  • Skip to main content

data Rebellion

Learning through Adventure

  • Home
  • Blog
  • Beginner Python Course
    • Preface – The Journey Ahead
    • Prologue – The Door
    • Chapter 1 – Arithmetic and Variables
    • Chapter 2 – Strings and Lists
    • Chapter 3 – Conditional Statements
    • Chapter 4 – Functions
    • Chapter 5 – Loops
    • Chapter 6 – Built-in Functions and Methods
    • Chapter 7 – Imports and Nesting
    • Chapter 8 – Opening the Door
    • Epilogue – Only the Beginning
  • About
  • Contact
You are here: Home / Archives for Learning to Code

Learning to Code

Intro to Python, Chapter 6 – Built-in Functions and Methods

Updated March 25, 2021. Published November 8, 2017. 3 Comments

Magic-wielding escapees were desperately deflecting the Imperial attacks on the fortress’ supports as best they could, but Baldric could see it was only a matter of time before they all took a dive, like so many employees before them, into the lake of fire. Of course, HR prisoners usually died by some other means first, […]

Intro to Python, Chapter 5 – Loops

Updated March 25, 2021. Published November 8, 2017. Leave a Comment

Baldric groggily opened his eyes and was greeted by a splitting pain in his head. He had been having the strangest dream, something about a crystal, and a snake eating its own tail, and…a singing head of cabbage? Strange indeed. He looked around in the dim torchlight and found himself in a large cell of […]

Intro to Python, Chapter 4 – Functions

Updated March 25, 2021. Published November 2, 2017. Leave a Comment

Baldric emerged from the passageway to find himself in an enormous cavern, its ceiling lost in shadow. Great columns of black stone soared from the ground, and pools of lava bubbled throughout, lighting the cavern in a dark red. The heat was suffocating. Baldric saw Bill standing on a stone outcrop nearby, apparently scanning for […]

Intro to Python, Chapter 3 – Conditional Statements

Updated March 25, 2021. Published November 2, 2017. Leave a Comment

Emerging from the sewer, Baldric found himself in the basin of a dry fountain. In its center was a marble statue of a massive fist which appeared to be composed of many entangled bodies. Employees, by how they were dressed. There were holes in various mouths and eyes that were apparently meant to be channeling […]

Intro to Python, Chapter 2 – Strings and Lists

Updated March 25, 2021. Published November 2, 2017. Leave a Comment

Something was really bothering Baldric about 106479825301.0, the answer to the mysterious request he’d received. Sitting down at his desk after enduring his meeting with Kevin, he realized what it was. If you only looked at the answer’s whole number portion… …then every number from 0 to 10 appeared exactly once in the larger number’s […]

Intro to Python, Chapter 1 – Arithmetic and Variables

Updated March 25, 2021. Published October 26, 2017. 2 Comments

Seated in his cubicle, Baldric tried to block out the buzz of busy clerks scattered about the office. The usual mix of apathy, grumpiness, and existential dread filled his thoughts, but something was tugging at the back of his mind. It felt vaguely like a sense of…hope. Almost as if there was finally a way […]

Intro to Python, Prologue – The Door

Updated March 25, 2021. Published October 26, 2017. 14 Comments

His feet carried him through corridor after dark corridor, soft steps echoing in the stillness. He could feel something in these halls calling to him, drawing him near. He turned a corner and there it was, what he somehow knew he would find. A door, seemingly hewn from the surrounding stone. While it bore no […]

Intro to Python, Preface – The Journey Ahead

Updated March 25, 2021. Published October 24, 2017. 1 Comment

Data Rebellion presents… Demons & Dwarves: An Intro to Python Adventure Course “ouro7” by Rex Housour, used under CC BY-SA 2.0, cropped original Table of Contents Prologue – The Door Chapter 1 – Arithmetic and Variables Chapter 2 – Strings and Lists Chapter 3 – Conditional Statements Chapter 4 – Functions Chapter 5 – Loops […]

Coding in Interactive Mode vs Script Mode

Updated March 25, 2021. Published October 14, 2017. Leave a Comment

When programming in Python, you have two basic options for running code: interactive mode and script mode. Distinguishing between these modes can be slightly confusing for beginners, especially when you’re trying to follow along with others’ tutorials, so here’s a brief rundown. Interactive Mode Interactive mode (a.k.a. shell mode) is great for quickly and conveniently […]

April Fools’ Day Python Programming Prank

Updated March 25, 2021. Published March 31, 2017. 6 Comments

Do you know someone who Karma’s been slacking on lately? Looking for a harmless April Fools’ Day prank that allows you to flex your Pythonic muscles? Well look no further. Here’s a simple little Python programming prank you can quickly code up, customize for maximum effect, and maybe even learn about a couple useful Python […]

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Copyright © 2023

Terms and Conditions - Privacy Policy