''' Purpose: introduce the if-else-pass construct ''' # prompt for one or two words and get the response reply = input( 'Enter one or two words: ' ) # turn response into a list list = reply.split() # get the length of the list n = len( list ) # output whether they followed directions # assume they followed directions response = 'You followed directions' # update response if necessary if ( ... ) : # what does it take to be wrong # response needs updating response = 'You did not follow directions' else : # no action necessary pass print( response ) # all done