Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
  • Christopher Mayfield
    Christopher Mayfield
    2,628 Points

    wtfff

    Posted July 21, 2026 12:00am by Christopher Mayfield
    Christopher Mayfield
    2,628 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    Help please

    Posted November 13, 2019 7:38pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Darren Bridenbeck
    Darren Bridenbeck
    8,481 Points

    thought get_anagram("treehouse"), "house") would work, but it doesn't

    Posted August 12, 2019 3:46am by Darren Bridenbeck
    Darren Bridenbeck
    8,481 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • givens
    givens
    7,484 Points

    Bummer: Didn't find a test for `get_anagrams()` using `self.assertIn()`

    Posted November 18, 2018 11:34pm by givens
    givens
    7,484 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Takudzwa E E Goniwa
    Takudzwa E E Goniwa
    3,951 Points

    I have no idea what the error is here

    Posted October 5, 2017 10:30am by Takudzwa E E Goniwa
    Takudzwa E E Goniwa
    3,951 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Khanh Hua
    Khanh Hua
    2,753 Points

    My code does not work

    Posted February 5, 2016 1:22am by Khanh Hua
    Khanh Hua
    2,753 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Casey Huckel
    PLUS
    Casey Huckel
    Courses Plus Student 4,257 Points

    What's wrong with this one?

    Posted December 15, 2015 8:16am by Casey Huckel
    Casey Huckel
    Courses Plus Student 4,257 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    2 Answers

  • MUZ140934 Noel Zipingani
    MUZ140934 Noel Zipingani
    2,656 Points

    help me with this code challenge

    Posted September 15, 2015 6:43am by MUZ140934 Noel Zipingani
    MUZ140934 Noel Zipingani
    2,656 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    3 Answers

  • wael ayad
    wael ayad
    3,220 Points

    Conversely, we shouldn't see the word "code" in the list of anagrams for "treehouse". Add a new test named test_not_in_a

    Posted August 27, 2015 2:56am by wael ayad
    wael ayad
    3,220 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • MUZ140638 Racheal Bandirai
    MUZ140638 Racheal Bandirai
    2,742 Points

    can some! help this cord won't pass

    Posted August 18, 2015 12:12pm by MUZ140638 Racheal Bandirai
    MUZ140638 Racheal Bandirai
    2,742 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • MUZ141065 Diana Shone
    MUZ141065 Diana Shone
    2,978 Points

    Conversely, we shouldn't see the word "code" in the list of anagrams for "treehouse". Add a new test named test_not_in_a

    Posted July 21, 2015 8:24am by MUZ141065 Diana Shone
    MUZ141065 Diana Shone
    2,978 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • MUZ140348 Sympathy Makururu
    MUZ140348 Sympathy Makururu
    10,209 Points

    Add a new test named test_not_in_anagrams and use self.assertNotIn() to make sure "code" isn't in the anagrams for "tree

    Posted July 6, 2015 1:21am by MUZ140348 Sympathy Makururu
    MUZ140348 Sympathy Makururu
    10,209 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • MUZ140750 Bhekimpi Sithole
    MUZ140750 Bhekimpi Sithole
    2,640 Points

    help on task 2

    Posted June 21, 2015 7:14am by MUZ140750 Bhekimpi Sithole
    MUZ140750 Bhekimpi Sithole
    2,640 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    2 Answers

  • MUZ140750 Bhekimpi Sithole
    MUZ140750 Bhekimpi Sithole
    2,640 Points

    help l am stuck on python testing Challenge Task 1 of 2

    Posted June 20, 2015 12:17pm by MUZ140750 Bhekimpi Sithole
    MUZ140750 Bhekimpi Sithole
    2,640 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Rungano Matonda
    Rungano Matonda
    3,237 Points

    Add a new test named test_not_in_anagrams and use self.assertNotIn to make sure"code" isn't the anagrams for "treehouse"

    Posted May 29, 2015 7:52am by Rungano Matonda
    Rungano Matonda
    3,237 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    2 Answers

  • Rungano Matonda
    Rungano Matonda
    3,237 Points

    Membership and other Assertions

    Posted May 28, 2015 11:21am by Rungano Matonda
    Rungano Matonda
    3,237 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • sulaiman gannas
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points

    can't solve this problem

    Posted May 22, 2015 3:31pm by sulaiman gannas
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    2 Answers

  • Y B
    Y B
    14,136 Points

    Python testing challenge assertIn fail

    Posted May 20, 2015 8:12pm by Y B
    Y B
    14,136 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    6 Answers

  • Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points

    get_anagrams

    Posted April 30, 2015 9:02pm by Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Devin Scheu
    Devin Scheu
    66,191 Points

    Python Tests Help

    Posted April 25, 2015 8:00pm by Devin Scheu
    Devin Scheu
    66,191 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    6 Answers

  • sulaiman gannas
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points

    Couldn't solve it

    Posted April 24, 2015 1:01pm by sulaiman gannas
    .a{fill-rule:evenodd;}techdegree
    sulaiman gannas
    Python Web Development Techdegree Student 17,651 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

  • Paulius Aleksiunas
    Paulius Aleksiunas
    24,087 Points

    Code Challenge: assertIn()

    Posted April 23, 2015 5:37pm by Paulius Aleksiunas
    Paulius Aleksiunas
    24,087 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertIn

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord