''' Purpose: demonstrate program user communication Author: Jim Cohoon Email id: jpc ''' # Three single quotes means that it's basically an # extended comment. The one at the top of a program # is called a header comment. # Blank lines and spaces in Python is called whitespace/blankspace. # It's just a way to separate out your code but empty statements # is okay for separation! # Send message to program user print( 'Hoos got your back' ) print() # print() prints a blank line! The rest of the line is a comment now. print( 'Hoos got your back' ) # In a single line of code, wherever you put the #, everything to the # right of that is a comment. # Whenever you have an error, the error will show up in the console! (the bottom) # Capitalization when it comes to built in functions makes a difference! # So make sure to make your function names lowercase :) # Alsooo comments are with the # (hashtag) # print("Hoos got your back") is the same thing without # the whitespace BUT we like to use whitespace between # the parentheses so that it's readable. :) # Try print( "Hoos got your back") it does the same thing # A print statement prints something to the console # print ( "something" ) # whatever is inside the parentheses is going to be printed # to the console (the little box that pops up when you hit run) # Strings can be in single quotes 'something' or double quotes # "something" # Don't have unnecessary indents! Indentation will be used # for specific code later on. # Code is written in the area above the console!