Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

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

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

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

  • 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
  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Is this broken?

    Posted August 26, 2021 5:15am by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Tafadzwa Timothy Gakaka
    Tafadzwa Timothy Gakaka
    10,978 Points

    python testing

    Posted January 26, 2021 2:29pm by Tafadzwa Timothy Gakaka
    Tafadzwa Timothy Gakaka
    10,978 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    4 Answers

  • Masline Nyasha Petro
    Masline Nyasha Petro
    4,280 Points

    python testing

    Posted October 21, 2018 3:40pm by Masline Nyasha Petro
    Masline Nyasha Petro
    4,280 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Jack Cummins
    Jack Cummins
    17,417 Points

    Please help me. Why is my code not working.

    Posted June 28, 2018 12:23am by Jack Cummins
    Jack Cummins
    17,417 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    2 Answers

  • Arshdeep Dhillon
    Arshdeep Dhillon
    1,102 Points

    cWe haven't used assertTrue yet but I'm sure you can handle this. assertTrue checks that a value is truthy. Complete the

    Posted June 8, 2018 1:47am by Arshdeep Dhillon
    Arshdeep Dhillon
    1,102 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    0 Answers

  • sunil shrestha
    sunil shrestha
    735 Points

    Why my code doesn't pass?

    Posted May 14, 2018 10:31am by sunil shrestha
    sunil shrestha
    735 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Leo Pinard
    Leo Pinard
    276 Points

    I don't see why my assertTrue is not working.

    Posted December 8, 2016 7:01am by Leo Pinard
    Leo Pinard
    276 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Harshit Aggarwal
    Harshit Aggarwal
    2,979 Points

    what changes should i make in the code

    Posted June 25, 2016 10:45am by Harshit Aggarwal
    Harshit Aggarwal
    2,979 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • pacman
    pacman
    438 Points

    help

    Posted January 3, 2016 2:32am by pacman
    pacman
    438 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

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

    Need help

    Posted December 15, 2015 7:29am by Casey Huckel
    Casey Huckel
    Courses Plus Student 4,257 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Milton Centeno
    PLUS
    Milton Centeno
    Courses Plus Student 7,940 Points

    Didn't find is_palindrome() but I did

    Posted November 8, 2015 6:20pm by Milton Centeno
    Milton Centeno
    Courses Plus Student 7,940 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • MUZ140348 Sympathy Makururu
    MUZ140348 Sympathy Makururu
    10,209 Points

    Challenge Task 2 of 2

    Posted July 5, 2015 11:21pm by MUZ140348 Sympathy Makururu
    MUZ140348 Sympathy Makururu
    10,209 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    5 Answers

  • Annie Scott
    Annie Scott
    27,614 Points

    okay got the first part finally, unable to get the second

    Posted June 7, 2015 5:36am by Annie Scott
    Annie Scott
    27,614 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Annie Scott
    Annie Scott
    27,614 Points

    Not sure how to do this , looking unitest link no help her

    Posted June 7, 2015 5:12am by Annie Scott
    Annie Scott
    27,614 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Rungano Matonda
    Rungano Matonda
    3,237 Points

    quantitative assertions

    Posted May 28, 2015 9:27am by Rungano Matonda
    Rungano Matonda
    3,237 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    2 Answers

  • Rabih Atallah
    Rabih Atallah
    3,405 Points

    Challenge question

    Posted May 6, 2015 2:53pm by Rabih Atallah
    Rabih Atallah
    3,405 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points

    is_palindrome

    Posted April 30, 2015 8:12pm by Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    2 Answers

  • Dan Badertscher
    Dan Badertscher
    5,327 Points

    assertTrue Challenge

    Posted April 30, 2015 2:54am by Dan Badertscher
    Dan Badertscher
    5,327 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    5 Answers

  • Ahmed Elsawey
    PLUS
    Ahmed Elsawey
    Courses Plus Student 3,527 Points

    assertTrue task 1

    Posted April 29, 2015 5:26pm by Ahmed Elsawey
    Ahmed Elsawey
    Courses Plus Student 3,527 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    1 Answer

  • Devin Scheu
    Devin Scheu
    66,191 Points

    Python

    Posted April 23, 2015 4:18am by Devin Scheu
    Devin Scheu
    66,191 Points
    • Python
    • Python Testing
    • Be Assertive
    • assertTrue and assertFalse

    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