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

Python

Prasanna kadel
PLUS
Prasanna kadel
Courses Plus Student 1,057 Points

Try and Except : Code Challenge Task 3

Just can't get the third task right. Please help with the solution.

Steven Parker
Steven Parker
231,261 Points

Please show the code you've written so far and someone will be happy to help you. It would also be helpful to provide a link the the course page you are working with.

FYI: Code sharing and page linking are generally automatic if you use the "get help" button.

1 Answer

Alan Christensen
Alan Christensen
2,319 Points

Hoping you are working on this task: def add(arg1, arg2): try: return float(arg1) + float(arg2) except ValueError: return None else: return float(arg1) + float(arg2)

Also, when asking a question, try to be more specific. What is it that you dont get? where is your code? etc.

Hope this helps,

Alan