Learn Programming the PlanGrid Way 1 documentation

Day 1: Editors, Logic, Types, Variables

«  Day 0: Expectations & Setup   ::   Contents   ::   Day 2: Guido, PEP8, If statements, Loops  »

Day 1: Editors, Logic, Types, Variables

Outline

  • About editors and environments
  • Hello World from a file
  • Basic Types: int, float, character, string, boolean, None and falsiness in general
  • Int division/modulo operator
  • Order of operations
  • Basic Boolean Logic - p & q
  • Variables
  • Problem: calculating a mortgage payment

Homework

  • Read from Zelle: 2.1 - 2.4, T/F and multiple choice Quiz at the end, exersizes 1-4
  • LPTHW chapters 2,3 & 6
  • Shell: rm, copy, mv from http://cli.learncodethehardway.org/book/
  • Install Sublime (or something similar). Make sure to hook up 4 space tabs
  • Logic: De Morgans Law

«  Day 0: Expectations & Setup   ::   Contents   ::   Day 2: Guido, PEP8, If statements, Loops  »