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 trialandrewjulio
Full Stack JavaScript Techdegree Student 6,838 Points("> ")??? What exactly is input("> ") and why? I get the input part but..
Hi guys, might sound like a silly question but what exactly is input("> ") and why? I get the input and prompt part but..for what is the > in ("> ")? And why since it's not for bigger/lesser than..?
1 Answer
Josh Keenan
20,315 PointsHey Andrew,
That's there for the end user, so when you ask for input it's not on an empty line, it outputs this
>
And only this will be output, the symbol doesn't matter it just is easier for a lot of users.
Play with it to see what I mean
andrewjulio
Full Stack JavaScript Techdegree Student 6,838 Pointsandrewjulio
Full Stack JavaScript Techdegree Student 6,838 PointsHaha silly me..yes it makes complete sense, same as the prompt in python >>> ..one of those little UI/UX features that one takes for granted I guess and then ends up overthinking it! Thanks for the prompt reply!
Josh Keenan
20,315 PointsJosh Keenan
20,315 PointsHappy to help mate! The community here is great