Week 3 ยท 45-60 min
Input, Output, and Strings
Week Summary
A quick preview of the main ideas in this week before you begin the slides.
- Getting User Input
- Combining Input with Output
- String Concatenation
- String Length and Indexing
Glossary
Review these key terms before starting this week. They are kept simple so students can learn the new vocabulary before moving into the slides.
- Getting User Input
- Getting User Input
- Combining Input with Output
- Combining Input with Output
- String Concatenation
- String Concatenation
Getting User Input
Progress
1 / 8
Get input from users and manipulate string data.
Read one card at a time. Focus on the main idea first, then look at the visual on the right to help it stick.
input() lets a program ask the user for data.
Input is always received as a string.
Store the result in a variable for later use.
Example: name = input("What is your name? ")
Programs become interactive once input is added.
Remember
User input makes a program respond to people instead of always doing the same thing.

Getting User Input
Slide 1 of 8
Use arrows or dots to move through the lesson
Practice
- Write 2-3 sentences about what you learned this week.
Coming Next Week: Next: Operators and Expressions