''' Purpose: correct errant code Author: Jim Cohoon Id: jpc ''' # CLASS THING # Change the name for Author in header comments for your homeworks. # If you're not submitting it it doesn't really matter. # INDENTATION # Don't indent when you don't need to! We will have examples later on # of new concepts with indentation where necessary. # We don't need to indent for now. More on that later in the course! print( 'We learn best, when we must invent. -- Jean Piaget' ) # Look at guidelines.py! How do we fix this? # How do we print the string? # If you want a TA to help, raise your hand and look towards the back! # Syntax are the rules for how things behave in a Programming Language. # basically HOW you write the code for doing something # If you're writing code and you have red underlines... probbb gonna blow up # STYLE # When writing code, you don't need a header or like spaces in certain # places but these are just style preferences. # The code runs either way if you switch up style. # STYLE EXAMPLE # print( 'hi' ) will work the same way as print('hi') # SPACES OUTSIDE QUOTES # NOT A STYLE EXAMPLE # BUT print( ' hi' ) is different from print( 'hi' ) # SPACES IN QUOTES # because now the spaces are in the quotations so they're different strings.