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
  • Joshua Hovden
    Joshua Hovden
    3,299 Points

    I don't understand why Orange().squeeze() wouldn't return True

    Posted September 19, 2020 8:36pm by Joshua Hovden
    Joshua Hovden
    3,299 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • Andrea Brandsness
    Andrea Brandsness
    5,198 Points

    Calling a method from an inherited class

    Posted July 14, 2020 11:46pm by Andrea Brandsness
    Andrea Brandsness
    5,198 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    0 Answers

  • Basel Kanaan
    Basel Kanaan
    4,458 Points

    hi i wonder why orange().squeeze dont return true?

    Posted June 11, 2020 7:38am by Basel Kanaan
    Basel Kanaan
    4,458 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    Why is this False

    Posted June 10, 2020 5:52pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Ajay Shah
    PLUS
    Ajay Shah
    Courses Plus Student 1,016 Points

    why Orange().squeeze() return false

    Posted May 29, 2020 3:36am by Ajay Shah
    Ajay Shah
    Courses Plus Student 1,016 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Luca Vicini
    PLUS
    Luca Vicini
    Courses Plus Student 8,594 Points

    Do not really understand why a class attribute is not accessible in a class method

    Posted April 23, 2020 9:25pm by Luca Vicini
    Luca Vicini
    Courses Plus Student 8,594 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • Ebrahim Rasromani
    Ebrahim Rasromani
    2,496 Points

    has_pulp is an attribute of Orange but I'm not sure why it cannot be accessed in method

    Posted March 24, 2020 11:07pm by Ebrahim Rasromani
    Ebrahim Rasromani
    2,496 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • mohan Abdul
    PLUS
    mohan Abdul
    Courses Plus Student 1,453 Points

    why won't this return True?

    Posted March 6, 2020 6:26am by mohan Abdul
    mohan Abdul
    Courses Plus Student 1,453 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • gen horiko
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    gen horiko
    Front End Web Development Techdegree Student 171 Points

    can someone explain this to me !

    Posted February 3, 2020 12:29pm by gen horiko
    .a{fill-rule:evenodd;}techdegree
    gen horiko
    Front End Web Development Techdegree Student 171 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Albert Egberg
    Albert Egberg
    7,786 Points

    I don't seem to understand this question. Why wouldnt it return True?

    Posted January 13, 2020 11:17pm by Albert Egberg
    Albert Egberg
    7,786 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • mark babyby
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    mark babyby
    Full Stack JavaScript Techdegree Student 367 Points

    What will it return then?

    Posted October 24, 2019 3:23pm by mark babyby
    .a{fill-rule:evenodd;}techdegree
    mark babyby
    Full Stack JavaScript Techdegree Student 367 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Andrew Okoye
    Andrew Okoye
    819 Points

    Incomplete Code

    Posted July 23, 2019 8:37am by Andrew Okoye
    Andrew Okoye
    819 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • Carlos Marin
    Carlos Marin
    8,009 Points

    Class object calling.

    Posted June 11, 2019 9:12pm by Carlos Marin
    Carlos Marin
    8,009 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Nicolae Laurentiu
    Nicolae Laurentiu
    1,538 Points

    Hy, I don't understand why the code doesn't run

    Posted October 5, 2018 11:40am by Nicolae Laurentiu
    Nicolae Laurentiu
    1,538 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • Andrew Dani Arianto
    Andrew Dani Arianto
    5,983 Points

    About class Orange(Fruit) in Quiz OO-Python

    Posted September 4, 2018 4:10pm by Andrew Dani Arianto
    Andrew Dani Arianto
    5,983 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • tyler bucasas
    tyler bucasas
    2,453 Points

    dont understand question

    Posted June 14, 2018 7:03pm by tyler bucasas
    tyler bucasas
    2,453 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Ashmit Pathak
    Ashmit Pathak
    4,441 Points

    plz tell me the reason behind the answer?

    Posted April 1, 2018 3:25am by Ashmit Pathak
    Ashmit Pathak
    4,441 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Ashmit Pathak
    Ashmit Pathak
    4,441 Points

    Plz tell me what is the answer of this question

    Posted April 1, 2018 3:06am by Ashmit Pathak
    Ashmit Pathak
    4,441 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • QUYEN NGUYEN
    QUYEN NGUYEN
    5,100 Points

    can some one help me explain why ?

    Posted March 19, 2018 12:15am by QUYEN NGUYEN
    QUYEN NGUYEN
    5,100 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Yu-Che Hung
    PLUS
    Yu-Che Hung
    Courses Plus Student 10,607 Points

    why this will return false?

    Posted February 6, 2018 2:44pm by Yu-Che Hung
    Yu-Che Hung
    Courses Plus Student 10,607 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • Yu-Che Hung
    PLUS
    Yu-Che Hung
    Courses Plus Student 10,607 Points

    why this will return false?

    Posted September 28, 2017 11:30pm by Yu-Che Hung
    Yu-Che Hung
    Courses Plus Student 10,607 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    2 Answers

  • uday kiran
    uday kiran
    3,222 Points

    Why is this false

    Posted August 5, 2017 3:27pm by uday kiran
    uday kiran
    3,222 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Henry Lin
    Henry Lin
    11,636 Points

    Why is Orange().squeeze() is False?

    Posted July 26, 2017 4:41am by Henry Lin
    Henry Lin
    11,636 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    1 Answer

  • Siman Shrestha
    Siman Shrestha
    2,538 Points

    I don't understand the logic here

    Posted July 17, 2017 4:10pm by Siman Shrestha
    Siman Shrestha
    2,538 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    0 Answers

  • Scott Jones
    Scott Jones
    5,397 Points

    .Orange().squeeze() == false

    Posted July 2, 2017 8:30pm by Scott Jones
    Scott Jones
    5,397 Points
    • Python
    • Object-Oriented Python
    • Inheritance
    • Inheritance Quiz

    3 Answers

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