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

Python Python Basics (Retired) Ins & Outs I/O

Python basics quiz

The question "to output something to the screen use the ___ function I put "print" for the answer before and it said correct but on the question "what method is used to capture user-provided data" I put "A input()" and it says incorrect. I retook the quiz and now it says "print" is incorrect and "input" is correct. Which of these is actually correct or incorrect?

I put in both "print and "input" and it said incorrect on both. I cant move on until I get it correct so I am sooooooooooo mad about that. What is CORRECT?

1 Answer

Print() outputs to the screen. Input() takes user input. Can't speak to the robustness of the quiz, maybe something got screwed up in loading the page.

Excellent :) I thought so but wasn't sure. Thanks!