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 (2015) Python Data Types Naming Things

how to insert code

plz help

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! To troubleshoot any problems you're experiencing we're going to need more details about the problem. Where are you trying to insert code that it's not working? Are you receiving an error message? What code are you using? Are you using workspaces? At this point, we really only know that you're watching a video about "Naming Things" and you're learning Python. This is simply not enough information to be able to assist you.

jennifer i say help cause i don't know how to correct the code

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Zeynalka Bob I'm definitely willing to help you. But your question is "how to insert code". And I simply don't know what you mean by that. Then you say you don't know how to correct the code. But I cannot find any code in the video that is linked to this question to have an error. Could you help me out by pointing to a time in the video?

i say reason is how to put like my fav number is 7 and i do print(favourite_number) 7 and it didn't work

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

If you'll take a look at the thread you linked, you'll see that Katie Wood gave you a brilliant answer. But in that question you had the challenge linked and not the video. And without showing the code you've tried, or the error you're receiving it's impossible to give you an accurate answer unless, of course, it is a challenge or quiz. Remember, I'm not trying to be difficult, I'm legitimately trying to help.

oh yes now i can code ok

1 Answer

If I'm not mistaking, this is what you are trying to achieve?

favorite_number = 7
print(favorite_number)

If not, Can you provide us with more info. Screenshots would help. Please let us know how it turns out. Keep it up.