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 trialKyle Hunter
273 PointsVariable quiz- This quiz is broken. I have done everything that was done in the video. I even went to YouTube.
name = kyle
print (name)
that should then give me kyle
8 Answers
Kevin Franks
12,933 PointsRemove the space between print (name) and you should be good to go.
Kevin Franks
12,933 PointsSorry I missed something. Change Kyle to a string by putting it in 'Kyle'.
Kyle Hunter
273 PointsThank you, I was going crazy!
Kyle Hunter
273 PointsThat didn't work. :(
Kyle Hunter
273 Pointsah yes, you are right. I know better than that.
Kevin Franks
12,933 PointsNo worries :)
Kyle Hunter
273 PointsStill didn't work...
name = kyle print('kyle')
Kevin Franks
12,933 Pointsname = 'Kyle'
print(name)
Kyle Hunter
273 Points<----- not smart
Kevin Franks
12,933 PointsIt's not that bad. If you ran it in shell you would see the error saying that name = kyle was invalid due to kyle not being an initialized variable. The test just stops when your script throws an exception. In multi-step problems it will tell you that step 1 no longer works.
Kyle Hunter
273 Pointsthank you. I am a mechanical engineer trying to learn how to code in order to make a couple ideas happen. I have never programmed before.
Joy Kesten
Treehouse Guest TeacherJoy Kesten
Treehouse Guest TeacherYou'll also need this tip from a later answer to complete the task "Sorry I missed something. Change Kyle to a string by putting it in 'Kyle'." - Kevin Franks