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 trialMahmoud Marzouq
Python Web Development Techdegree Student 937 PointsI need help with the challenge
current_count = 14
planned = 5
upcoming_releases = 2
del planned
total = 3
total + current_count + upcoming_releases
that's my final code I think I make it right but it's not so what is wrong with it.
Mahmoud Marzouq
Python Web Development Techdegree Student 937 PointsPython > Python Basics > Python Data Types > Naming Things
1 Answer
Andreas cormack
Python Web Development Techdegree Graduate 33,011 PointsHi Mahmoud Marzouq
The challenge asks you to add the values of current_count and upcoming_releases to a new variable called total. For some reason you created a variable called total and assigned it the value of 3. This is what you needed to do. See below
current_count = 14
planned = 5
upcoming_releases = 2
del planned
total= current_count+upcoming_releases
Also when posting a question refer to the correct challenge so its easier when other students are trying to help you.
Happy coding !!
Mahmoud Marzouq
Python Web Development Techdegree Student 937 PointsThanks, That's really helpful I'm a new on this website and I think my English sometimes disappointing me.
Andreas cormack
Python Web Development Techdegree Graduate 33,011 PointsAndreas cormack
Python Web Development Techdegree Graduate 33,011 Pointswhich challenge are you referring to?