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

Kris Anon
Kris Anon
54 Points

I follow instructions specified by the video, but the terminal is not reflecting the content that I am inputting.

So I am following the video in "Variables" and following the instructions stated in the video. I typed in print("Hello, Kris") and even print("Kris is learning Python") and it works out fine (Took a while for the terminal to recognize this though) but then I do first_name = "Ada" on the first line (I created additional lines instructed in the video) and other content, but the terminal still reads "Hello," Kris" and "Kris is learning Python" even after entering python hello.py. Is there something I am missing regarding the lines?

3 Answers

joelearner
joelearner
51,231 Points

Hi Kristopher,

Have you tried typing the line:

print first_name

in your hello.py file following the variable assignment?

Cheers,

Joe

Rouillie Wilkerson
Rouillie Wilkerson
10,407 Points

Be sure to add a snapshot or scrape of your code so we can see what it is.