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 (Retired) Ins & Outs Ins & Outs

help

im lost i cant figure out how to do this

name.py

1 Answer

Stephen Bone
Stephen Bone
12,359 Points

Hi Trevyn

It may be worth revisiting the video where Kenneth will discuss it in more detail and point out some restrictions on naming variables as this is a key concept of all programming languages that you must understand.

Having said that in Python to create a variable all we need to do specify a name followed by the equals sign and then the value you want assigned to it.

So in this case it wants you to create a variable called name followed by the equals sign and then use your name as the value making sure to wrap it in quotes as in: "Trevyn Mikesell".

Hope it helps!

Stephen