🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Jason Grout
    Jason Grout
    4,809 Points

    Possible to download teachers notes as reference or study material?

    Posted August 25, 2017 1:41pm by Jason Grout
    Jason Grout
    4,809 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    0 Answers

  • ryan smith
    ryan smith
    687 Points

    Swallowing errors? I don't get what he means.

    Posted August 10, 2017 3:37am by ryan smith
    ryan smith
    687 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    3 Answers

  • shariq ali
    shariq ali
    551 Points

    I want to add try function in random game but sttuck.

    Posted July 20, 2017 3:45pm by shariq ali
    shariq ali
    551 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

  • tonypitkin2
    PLUS
    tonypitkin2
    Courses Plus Student 1,950 Points

    Do you need to declare a float on a per-value level?

    Posted July 3, 2017 11:58pm by tonypitkin2
    tonypitkin2
    Courses Plus Student 1,950 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    1 Answer

  • Soumik Rakshit
    Soumik Rakshit
    2,745 Points

    Shouldn't the exception should be NameError instead of ValueError?

    Posted May 22, 2017 3:40pm by Soumik Rakshit
    Soumik Rakshit
    2,745 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    1 Answer

  • Nilton S Bossolan
    PLUS
    Nilton S Bossolan
    Courses Plus Student 1,047 Points

    Loop back to input if input is not number.

    Posted February 8, 2017 1:55pm by Nilton S Bossolan
    Nilton S Bossolan
    Courses Plus Student 1,047 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

  • George Lugo
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    George Lugo
    Python Web Development Techdegree Student 922 Points

    exceptions.py

    Posted January 27, 2017 6:05pm by George Lugo
    .a{fill-rule:evenodd;}techdegree
    George Lugo
    Python Web Development Techdegree Student 922 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    3 Answers

  • George Lugo
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    George Lugo
    Python Web Development Techdegree Student 922 Points

    im trying this on the workspace and it is still not working i do not understand why

    Posted January 27, 2017 5:45pm by George Lugo
    .a{fill-rule:evenodd;}techdegree
    George Lugo
    Python Web Development Techdegree Student 922 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    4 Answers

  • Sky Lu
    Sky Lu
    1,260 Points

    What does ValueError mean?

    Posted October 22, 2016 9:27am by Sky Lu
    Sky Lu
    1,260 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    1 Answer

  • Zachary Maldonado
    Zachary Maldonado
    5,895 Points

    Can you try multiple inputs at once?

    Posted October 3, 2016 7:47am by Zachary Maldonado
    Zachary Maldonado
    5,895 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    0 Answers

  • Eric Ouellette
    Eric Ouellette
    3,332 Points

    The Exception to the Rule

    Posted September 30, 2016 7:14pm by Eric Ouellette
    Eric Ouellette
    3,332 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

  • Vishal Gali
    Vishal Gali
    5,761 Points

    i need help in the quiz

    Posted September 4, 2016 8:06am by Vishal Gali
    Vishal Gali
    5,761 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

  • Mariya Shklyar
    Mariya Shklyar
    1,022 Points

    Need help with quiz

    Posted September 1, 2016 3:02am by Mariya Shklyar
    Mariya Shklyar
    1,022 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

  • linzhang5
    linzhang5
    2,398 Points

    ValueError syntax error message in my own terminal

    Posted August 26, 2016 2:57am by linzhang5
    linzhang5
    2,398 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    4 Answers

  • Martin Leahy
    Martin Leahy
    4,111 Points

    I receive a NameError when running this.

    Posted July 29, 2016 5:13pm by Martin Leahy
    Martin Leahy
    4,111 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    1 Answer

  • Nitin Gupta
    Nitin Gupta
    735 Points

    Try and Except Challenge

    Posted July 28, 2016 10:49am by Nitin Gupta
    Nitin Gupta
    735 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    3 Answers

  • Zeljko Porobija
    Zeljko Porobija
    11,491 Points

    except yields with different result

    Posted June 26, 2016 9:07am by Zeljko Porobija
    Zeljko Porobija
    11,491 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    3 Answers

  • henry jefferson
    henry jefferson
    2,136 Points

    Try and except problem. I'm trying to write a function that outputs only a letter; an alphabetic letter.

    Posted June 14, 2016 3:34am by henry jefferson
    henry jefferson
    2,136 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    10 Answers

  • Alan Sea
    Alan Sea
    6,781 Points

    Error on line 10 of exceptions.py

    Posted March 7, 2016 6:43pm by Alan Sea
    Alan Sea
    6,781 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    1 Answer

  • mohit jain
    mohit jain
    1,060 Points

    how is try and except blocks different than using if else function in your code?

    Posted January 19, 2016 8:25am by mohit jain
    mohit jain
    1,060 Points
    • Python
    • Python Basics (2015)
    • Logic in Python
    • The Exception to the Rule

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.