''' identation helps with readability, and is a style choice Purpose: correct errant code Author: Jim Cohoon Id: jpc the type of quote used in the header comment is a style choice you get to make pycharm will try to help you write your code but they don't know our style rules ''' # always start statements in column 1. this is not style, as it will not run # unless all statements start in column 1 # some statements are multiple lines long, but the start of that statement # will start in column 1 # we will indent code... later :) # we have to tell python when we want a string of characters with quotes # EOF = end of file - this program ended before it should have # if you need double or single quotes in a string, start it with the other type # if you need both we'll get there # if you want to keep it simple, just use double quotes print( '"We learn best, when we must invent." -- Jean Piaget' ) # padding with spaces is a CS 1112 STYLE rule that we will always follow # pycharm doesn't like our style rule :( but course staff does! # spaces only matter in front of commands # the error codes should be used to fix your own code # please don't come to office hours without reading the error message and trying # to debug yourself, at least find the line # is there anything we can't put in the print() function? - yes, but don't worry yet # if you see an indentation error right now # follow the example so that it's on me, not you if it's wrong # we can ignore a lot of pycharm's "help" # yes you could run stuff slowly but it's usually more work than it's work ( i think ) # will you be graded on style? yes # be nice to the person reading and grading your code, follow style guidelines # we will give meaningful and descriptive names #