You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

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

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

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

  • 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
    • 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
  • 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
      • • Vibe Coding
  • Tricia Cruz
    Tricia Cruz
    915 Points

    I still don't understand how the program would know to print the "More than 1..." string

    Posted September 30, 2023 6:38am by Tricia Cruz
    Tricia Cruz
    915 Points
    • Python

    2 Answers

  • Anthony Renwick
    Anthony Renwick
    3,609 Points

    error: unreported exception IOException; must be caught or declared to be thrown - String story = prompter.newPrompt();

    Posted September 6, 2020 4:55am by Anthony Renwick
    Anthony Renwick
    3,609 Points
    • Java
    • Local Development Environments
    • Advanced Tooling
    • Finishing TreeStory

    2 Answers

  • Christiian Allen
    PLUS
    Christiian Allen
    Courses Plus Student 859 Points

    expecting and raising exceptions

    Posted October 27, 2018 6:06am by Christiian Allen
    Christiian Allen
    Courses Plus Student 859 Points
    • Python
    • Python Basics
    • Functions and Looping
    • Expecting Exceptions

    5 Answers

  • Rusell Shamu
    Rusell Shamu
    4,592 Points

    Raising Exceptions

    Posted September 6, 2018 9:14pm by Rusell Shamu
    Rusell Shamu
    4,592 Points
    • Python
    • Python Basics
    • All Together Now
    • Handle Exceptions

    1 Answer

  • Olivia Earenfight
    Olivia Earenfight
    3,509 Points

    As err

    Posted June 7, 2018 10:27am by Olivia Earenfight
    Olivia Earenfight
    3,509 Points
    • Python
    • Python Basics
    • Functions and Looping
    • Raising Exceptions

    3 Answers

  • Elgene Ee
    Elgene Ee
    3,554 Points

    What is wrong with my try except code?

    Posted May 3, 2018 7:08am by Elgene Ee
    Elgene Ee
    3,554 Points
    • Python

    1 Answer

  • Alejandro Narvaja
    PLUS
    Alejandro Narvaja
    Courses Plus Student 7,340 Points

    Why strange reason if I use 'let' instead of 'var' in JS works in all browsers except in the mobile?

    Posted November 20, 2017 6:16pm by Alejandro Narvaja
    Alejandro Narvaja
    Courses Plus Student 7,340 Points
    • JavaScript

    6 Answers

  • prateekparekh
    prateekparekh
    12,895 Points

    Why are Runtime Exceptions hard to catch as opposed to compile time errors?

    Posted September 16, 2017 10:48pm by prateekparekh
    prateekparekh
    12,895 Points
    • Java
    • Java Data Structures
    • Getting There
    • Type Casting

    2 Answers

  • Bryce Edwards
    Bryce Edwards
    1,586 Points

    My brain hurts. Can't figure this out, so bad at for loops!

    Posted August 7, 2017 9:50pm by Bryce Edwards
    Bryce Edwards
    1,586 Points
    • JavaScript
    • JavaScript Loops, Arrays and Objects
    • Simplify Repetitive Tasks with Loops
    • Create a for Loop

    1 Answer

  • Dongyun Cho
    Dongyun Cho
    2,256 Points

    help me with my code!

    Posted June 22, 2017 1:04pm by Dongyun Cho
    Dongyun Cho
    2,256 Points
    • Python
    • Django Basics
    • Final Details
    • Step Detail View

    1 Answer

  • Seamus Hannan
    Seamus Hannan
    509 Points

    Can't convert 'int' object to str implicitly

    Posted March 1, 2017 3:16pm by Seamus Hannan
    Seamus Hannan
    509 Points
    • Python
    • Python Basics (2015)
    • Shopping List App
    • Continue

    2 Answers

  • Nancy Melucci
    PLUS
    Nancy Melucci
    Courses Plus Student 36,159 Points

    Set not callable

    Posted December 28, 2016 2:07pm by Nancy Melucci
    Nancy Melucci
    Courses Plus Student 36,159 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Sets
    • Set Math

    5 Answers

  • Jimmy Holway
    Jimmy Holway
    10,703 Points

    Template testing fails when I attempt to test Step (NoReverseMatch) with Django 1.10

    Posted November 16, 2016 6:44pm by Jimmy Holway
    Jimmy Holway
    10,703 Points
    • Python

    1 Answer

  • Marcus Schumacher
    Marcus Schumacher
    16,616 Points

    Shouldn't this work?

    Posted September 27, 2016 6:00pm by Marcus Schumacher
    Marcus Schumacher
    16,616 Points
    • Java
    • Java Objects (Retired)
    • Delivering the MVP
    • Validation

    2 Answers

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    Understanding Type Casting in Java

    Posted August 21, 2016 3:46pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • Java
    • Java Data Structures - Retired
    • Getting There
    • Type Casting

    1 Answer

  • Allen C
    Allen C
    1,448 Points

    So what does "throw" do?

    Posted July 14, 2016 7:25pm by Allen C
    Allen C
    1,448 Points
    • Java

    1 Answer

  • alex novickis
    alex novickis
    34,894 Points

    Django/python - render from template throws NoReverseMatch exception from statement {% url views.hello_world %}

    Posted June 23, 2016 10:33pm by alex novickis
    alex novickis
    34,894 Points
    • Python

    2 Answers

  • anu chinth
    anu chinth
    6,908 Points

    Hello, I am getting the Bummer: Looks like you did not present Treestory (3) when I did as part of system out print:

    Posted June 1, 2016 10:50am by anu chinth
    anu chinth
    6,908 Points
    • Java
    • Local Development Environments
    • Advanced Tooling
    • Finishing TreeStory

    1 Answer

  • Roy Penrod
    Roy Penrod
    19,810 Points

    Any professional developers that have went through a phone interview?

    Posted January 18, 2016 7:09pm by Roy Penrod
    Roy Penrod
    19,810 Points
    • General Discussion

    3 Answers

  • Cotten Blackwell
    Cotten Blackwell
    10,425 Points

    Can't install bcrypt on Mac OS X v10.10.5

    Posted October 19, 2015 10:17pm by Cotten Blackwell
    Cotten Blackwell
    10,425 Points
    • Python
    • Build a Social Network with Flask
    • Making Strong Users
    • Cryptographic Hashing with Flask-Bcrypt

    10 Answers

  • Johnathan Black
    Johnathan Black
    690 Points

    How do i assign this to a constant named currencies. what am i missing?

    Posted April 30, 2015 7:00pm by Johnathan Black
    Johnathan Black
    690 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • Nicholas Lee
    Nicholas Lee
    12,474 Points

    Why is Jason using retry inside a loop?

    Posted August 14, 2014 10:08pm by Nicholas Lee
    Nicholas Lee
    12,474 Points
    • Ruby
    • Ruby Foundations
    • Loops
    • Control Flow

    1 Answer

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.