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
Harshit Jindal
257 Pointshow to run Make a new variable named menu that's set to "Our available flavors are: {}.". this
this is python basics question help me solving this m stuck on this
1 Answer
Krishna Pratap Chouhan
15,203 PointsI am not sure Harshit, about the question you are asking i think you should watch the video again if what i am answering is exactly what you asked but i am sure you just started python course.
Also, please mention the challenge you are talking about in the question, it helps to put things into perspective.
If you had idea about other programming language you create variables something like:
var variable_name= "value"
or
string variable_name = "value"
in python you dont need to specify any declaration like var or string.
name = "Tom"
age=10
or in this case
menu = "Our available flavors are: {}."
Hope this helps. :) (y)
Harshit Jindal
257 PointsHarshit Jindal
257 PointsThanks Krishna ...yes I have started learning basics of python now ...this is the question of formatting please let me know more...because m writing somewhat correct code ..some silly mistake persists here in code
Krishna Pratap Chouhan
15,203 PointsKrishna Pratap Chouhan
15,203 Pointsis your problem solved now? If not you have to share the challenge which you are trying to solve, otherwise its gonna be a little problematic to provide the exact answer.