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 […]
Python
Here you'll find posts specifically related to learning the Python programming language, my favorite language of them all. Enjoy!
Intro to Python, Chapter 1 – Arithmetic and Variables
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
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
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
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 […]
Programming the Hokeydex (Intro to Python Variables and Data Types)
The following post is a simple introduction to variables and the sorts of things commonly assigned to them in Python. If you are new to Python and/or programming, I encourage you to run each code block in your own editor as you read (repl.it is great for quickly running a little code). Think up questions […]
Escape from the Office (Intro to Python)
Prerequisites: Have some way of coding in Python. If you don’t have Python installed, I’d recommend using Repl.it, a browser-based programming environment that supports Python 3. If you want to take a few minutes to install Python, this quick installation guide may help. Or if you prefer, check out the Anaconda installation guide. When you […]
Quick Guide to Installing Anaconda
This guide will help you get Anaconda installed on your computer in the ballpark of 15-30 minutes. Anaconda is a sort of collection of programming goodies and comes with Python (programming language), Spyder (an IDE, or the place where you’ll do your actual coding), conda (a package manager that makes it really easy to install, […]
Quick Guide to Installing Python
This guide will help you get the newest version of Python 3 up and running on your computer in about 5-10 minutes. It shows how the process looks on Windows, but it should be similarly straightforward for Mac and Linux users. If you want some more bells and whistles than just the Python programming language, […]