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 trialAngela Mhaka
4,545 PointsPlease help.I don't understand why my code is not working!!
it runs on the IDE but refuses on the challenge
## Examples
# to_string(datetime_object) => "24 September 2012"
# from_string("09/24/12 18:30", "%m/%d/%y %H:%M") => datetime
import datetime
def to_string(datetime):
return datetime.strftime("%d%B%Y")
1 Answer
Jason Anders
Treehouse Moderator 145,860 PointsHi Angela,
Your code does look correct (except maybe needing spacing between the different parts of the date). Unfortunately, there seems to be some technical glitches in the challenges right now that is preventing the code checker from properly checking and passing your code, or providing a proper error message. The wonderful Support Team is aware and are looking into the issue. If you like, you can continue on with the course by navigating using the little bubbles on top of the video screen to jump to the next step after the challenge.
Once the issue has been resolved, you can come back to the challenge and complete it.
Sorry for the problems. :(
But nice work! :)
Angela Mhaka
4,545 PointsAngela Mhaka
4,545 PointsThank you very much Jason for the update