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 trialchen kang
Courses Plus Student 553 Pointsthis delete.py always showed that the Task 1 is no longer passing, but I already finished this part!
I don't know about the this practice. this is my program about sum of Curren_count and upcoming_releases: current_count =10 upcoming_releases =2 total = current_count + upcoming_ releases print (total)
current_count = 14
planned = 5
upcoming_releases = 2
del current_count
del planned
del upcoming_releases
current_count =14
upcoming_releases = 2
total = current_count + upcoming_release
print ("total")
2 Answers
Mark Duplock
9,549 PointsHave another read of the second part of the exercise. You're deleting variables that don't need to be deleted and you aren't asked to print the result.
Lucas Zimney
844 PointsI am having this same issue, though I am only trying to delete the "planned" variable by writing del(planned). My script is below. In the script there are no spaces between the lines. Still saying that I am incorrect. Please help someone!
current_count = 14
planned = 5
upcoming_release = 2
del(planned)