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 Meet Python Variables

string input not running properly

When i run my "Hello, Donald" string it keeps on showing the "Hello, World" one. How can i make it print out my name instead of the word 'World'?

Carlos Marin
Carlos Marin
7,997 Points

Hello Donald, Can you please post your code so we can see exactly what is going on?

Hello Carlos, i'm not exactly sure how to post my code but basically on the default string i just deleted the word 'World' and then replaced it with my name. So i'm thinking it's probably a workspace issue. Still can you help me on how i can post my code here or if i can just write it here on the comment section?

Carlos Marin
Carlos Marin
7,997 Points

Were you able to figure it out?

2 Answers

Yeah i did. Thanks very much, it was just a minor technical difficulty with my laptop. I just rebooted it and it started working again.

Carlos Marin
Carlos Marin
7,997 Points

lol. That's weird. I'm glad to help out! :)