Lesson 6



Learning Goal: Students will be able to request and store user input to create an interactive story.
Learning Objectives Today I will…
Students will know how to:
Use the .ask() function to prompt the user to answer a question
Store the user input in a variable
Combine user input (as a string) with other strings to form full sentences
Use variables to control multiple objects at once
Improve efficiency in programming by allowing wide scale changes from a single line of code
Use int() to cast user input as an integer
Today I will…
create the basic structure and rhythm to a poem, but allow the user to choose some of the words that end each line.
create a mad-libs style poem.
set up a poem and then ask the user to come up with the last word of each line.
Write your text here...
Noun: A noun is a word that names a person, place, thing, or idea. For example, in the sentence "The dog barks," the word "dog" is a noun because it identifies a thing.
Verb: A verb is a word that expresses an action, occurrence, or state of being. In the sentence "The dog barks," the word "barks" is a verb because it tells us what the dog is doing.
Adjective: An adjective is a word that describes or modifies a noun, giving more information about its characteristics. For instance, in "The playful dog barks," "playful" is an adjective because it describes the noun "dog."