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 trialJamel Stringer
Courses Plus Student 906 PointsPython Basics Quiz Question 5 of 8
Finish this so the return
happens if the try
block doesn't have any exceptions:
try: count = int(input("Give me a number: ")) except ValueError: count = 0
: return count * 15
2 Answers
Qui Le
10,998 Pointsthe keyword you're looking for is else.
Christian Rowden
2,278 PointsHello,
I would really like to help you out but I need some more information in order to do it. When you submit a help ticket there is a button that will attach your code to the problem which will help anyone help you.
Cheers.