Katemonkey (In Most Places)

Learning Python, Day 6 — If Statements

Diane, 9:53, february 24th. Entering my next Python lesson.

08 — If Statements

This is what I've been waiting for. Sure, I can spend all my time making lists and doing math and having the computer tell me how awesome I am by constantly writing print("You are the greatest."), but If Statements are where it's at.

I'm going to have a hard time remembering elif instead of Then, and the format of the If Statements, but this will just take practice. That and remembering to indent. I'm so used to making sure all my HTML is perfectly unindented that needing to indent things feels absolutely alien.

This was a ridiculous short lesson. I feel like there's a lot more that could've been done here. And although I've learned a lot, I haven't really learned anything I can put into a proper program.

But at least we know one thing is true:

hipdirectors = ["John Waters",
                "David Lynch",
                "David Cronenberg",
                "Brandon Cronenberg",
                "Ryan Coogler",
                "Guillermo del Toro"]
if "David Lynch" not in hipdirectors:
  print("David Lynch is not hip")
elif "David Lynch" in hipdirectors:
  print("David Lynch is hip")


>> David Lynch is hip

Day 6 — Results

So based on what I'm seeing, this is the last of this particular course. After this, there's a 29-lesson "Learn Python from Scratch" series by another person, which'll duplicate a lot of what I've already seen, but it will be good for me to go through it all again.

I could officially start that, and I'm watching the Intro now, but there are chores to be done, so I'll start this all tomorrow.

Today's Sticker

A circular sticker with two Pokémon - a Leafon in the front and a Vaporeon in the back.

A Vaporeon and a Leafon from a Pikachu Pokémon Noodle I picked up at Oriental Mart.

#kate learns python #programming