One Hundred Days
May 19th, 2024

Python - Day 002

Python

Continuing on from Day 001...

Today's Study Materials

  1. https://automatetheboringstuff.com/2e/chapter1/
  2. https://www.learnpython.org/en/Variables_and_Types

Application Install

  1. Mu editor for macOS - I could do all my learning via the terminal, but since Automate the Boring stuff recommended installing Mu, I thought I'd check it out. I may end up abandoning it eventually.

Things Learned

This is silly, but this is the first time I've ever come across exponential notation:

2 ** 8 = 256

Which is the same as typing:

2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 = 256

Simple Application

The hello.py application, with some liberties of my own taken:

No earth shattering concepts learned today. The "program" is pretty simple and very linear. But it was good to type it out (no copy and paste), thinking about what each step is doing.