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 String Formatting

Sean Hoffman
Sean Hoffman
7,622 Points

Instruction for the challenge

When I press "Take the Challenge" all I see is an empty editor without an instruction what to do.

2 Answers

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,423 Points

Hi Sean, the instructions may not be obvious if it's your first time. The task description is written in header above the editor. Verbose instructions would be. Perform the specified task by writing python code in the editor below. When task is complete, click on Check Work! The Check Work button executes and verifies your code.

Qasim without quotes is a variable name, which is not defined. If you wish to set the variable name to the string of characters Qasim you need to include quotation marks:

name = 'Qasim'

Sean, is this the challenge you're referring to? On my end, it says Create a variable named name with your name in it. There's also a file name name.py listed in the tab.

creating a variable would be like

name = Qasim

but when I answer the code challenge with it it says: Bummer! NameError: name 'qasim' is not defined