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 (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