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 trialGeorgios Vivilakis
Python Development Techdegree Student 3,020 PointsWhy does my function output text don't paste?
def yell(text):
text = text.upper()
number_of_characters = len(text)
result = text + "!" * (number_of_characters // 4)
print(result)
yell = "Let's test your skills"
yell = "I suggest you practice harder"
yell = "Don't be afraid to fail"
2 Answers
Tate Price
Courses Plus Student 9,987 Pointssome options could be:
The execution console where it says (" Treehouse:~/Workspace$") does not allow for pasting into it.
workspace error. Try closing and opening workspace again
If you are in the top half of the screen then you should verify that you are highlighting the code, pressing ctrl + c to copy, then pressing ctrl + v to paste, otherwise, you can use the manual function by right-clicking with the mouse
Steven Parker
231,272 PointsPerhaps your clipboard is empty. If you're using the workspace, the console pane does not respond to the typical Ctrl-C shortcut to copy highlighted content. But after highlighting what you want, you can copy it using the "copy" selection of the "edit" drop-down on the menu bar.