Active Learning: Talk to the User
After doing the user input lesson, you should be able to ask the user a question and store the answer in a variable.
Your code will look something like this: (but MUCH more interesting!)
Here are two shots from the running movie:
Create an Alice3 world with any scene and objects you want.
Ask the user at least 2 questions and respond in some way.
Note: This is not two actors talking to each other. It is asking the user a question, storing the user's answer in a variable, then using it in some way.
Goals:
- In the code there is a comment with your name and a description of the program.
- You have at least 2 variables of different types with meaningful names.
- You ask the user at least 2 questions and store the answers in the variables.
- You use the variables to respond to the user.
- You have created an interesting project with a theme, appropriate scenery (at least 4 objects) and characters.
Active Learning Index