Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Basics Types and Branching Booleans

How is Craig copying the above line onto the next line so fast. I do not remember the shortcut.

When Craig is grabbing a previous line like in: (False or False or True) and (True and False)

Then the line command appears

>>>

then he presses something and is pastes the previous line in

>>>(False or False or True) and (True and False)

SO he can edit one word

>>>(False or False or False) and (True and False)

How is he grabbing that line

>>> 'And pasting it here'

? Thank you!

1 Answer

Michael Hulet
MOD
Michael Hulet
Treehouse Moderator 47,830 Points

It's probably just the up arrow key, which cycles through your command history. One press will get you the last command, ready to run again or modify as you wish

Oh my gosh, that is it I knew it was something simply he said in the beginning.

Thank you so much!

-Daniel