Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


mohan Abdul
mohan Abdul
Courses Plus Student 1,453 Points

I am a little confused with terminology: user input, prompt user & input function

hi, i am little confused with terminology can someone please explain each one: user input, prompt user & input function. please use keep it simple, if you use code I may make more sense of it. thanks, I be sure to leave a rep point to who ever explains it.

1 Answer

Ben Slivinn
Ben Slivinn
10,156 Points

User Input:Developers often have a need to interact with users to get data.

Input Function: Python provides inbuilt function to read the input from the keyboard.

input ( prompt )

Note: python 2:


This function has an optional parameter, commonly known as prompt (User prompt), which is a string that will be printed on the screen whenever the function is called.

Good luck!