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 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
Michael Hulet
47,913 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