Practice - Input and Output
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What does the input() function do?
💡 Hint: Think about how we interact with the program.
What type of data does the variable type for input() return?
💡 Hint: What do we call text values in programming?
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What does the input() function do?
💡 Hint: Think about how you gather data from users.
The print() function outputs data to the user. True or False?
💡 Hint: Consider how you would let the user see output messages.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Create a script that asks for the user's favorite food, stores that, and then prints a complete sentence about it, such as 'Your favorite food is Pizza.'
💡 Hint: Think about how to structure your sentences while including the variable.
Write a program that asks for a user's first name and last name, then prints a greeting using both names in a formatted manner.
💡 Hint: Use both first and last name variables in your print statement.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.