Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Input and Output in Python!
You have completed Practice Input and Output in Python!
Preview
Here's how I did it! How'd you do?
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
All right, so the first to do here,
we need to get some input from the user.
0:00
So I'm gonna go ahead and
I'm gonna use the input function, right?
0:01
So we're gonna say input, and
let's say please enter a verb.
0:07
And I'm gonna give a little breathing
space in this string here and
0:14
I'm gonna close my call.
0:17
And I wanna store that, right?
0:18
So I wanna store that in a variable,
in a name that I could remember later,
0:20
which what better to use than what's
actually in this blank here, right?
0:24
So I'm gonna use a verb,
so verb equals that.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up