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

New No-Code Track! 🚀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
    • 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
  • Asher Orr
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Asher Orr
    Python Development Techdegree Graduate 9,410 Points

    How do I correctly reference a variable within a method (OOP)?

    Posted July 25, 2022 9:56pm by Asher Orr
    .a{fill-rule:evenodd;}techdegree seal-36
    Asher Orr
    Python Development Techdegree Graduate 9,410 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • billytam
    billytam
    4,203 Points

    Keep getting: You got 1 out of 10 right.

    Posted June 22, 2022 10:17pm by billytam
    billytam
    4,203 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Tucker Fischer
    Tucker Fischer
    10,517 Points

    Summary function is not printing

    Posted January 13, 2021 2:27am by Tucker Fischer
    Tucker Fischer
    10,517 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    2 Answers

  • tariqasghar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    tariqasghar
    UX Design Techdegree Graduate 30,519 Points

    Point of "question_start" and question_end" times in "ask" method.

    Posted May 12, 2020 3:14pm by tariqasghar
    .a{fill-rule:evenodd;}techdegree seal-36
    tariqasghar
    UX Design Techdegree Graduate 30,519 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Patrick Lannan
    Patrick Lannan
    4,792 Points

    Understanding question_start/end

    Posted March 29, 2020 6:01pm by Patrick Lannan
    Patrick Lannan
    4,792 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    2 Answers

  • Haifa Bassam
    Haifa Bassam
    10,333 Points

    TypeError: unsupported operand type(s) for -: 'builtin_function_or_method' and 'builtin_function_or_method'

    Posted February 29, 2020 12:38pm by Haifa Bassam
    Haifa Bassam
    10,333 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points

    In the method ask(self, question), how can question reference text, it isnt an instance?

    Posted April 25, 2018 2:25pm by Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • annecalija
    annecalija
    9,031 Points

    Why is it that reuse of varible in re-instantiation of a class does not reset its attributes? what's wrong with my code?

    Posted September 28, 2017 3:15pm by annecalija
    annecalija
    9,031 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Frank Campos
    Frank Campos
    4,175 Points

    I need help !!!!

    Posted July 22, 2017 3:10am by Frank Campos
    Frank Campos
    4,175 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    5 Answers

  • sonny unverferth
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    sonny unverferth
    Python Web Development Techdegree Student 2,889 Points

    datetime in quiz.py

    Posted May 24, 2017 5:56pm by sonny unverferth
    .a{fill-rule:evenodd;}techdegree
    sonny unverferth
    Python Web Development Techdegree Student 2,889 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Rolando Aguilera
    Rolando Aguilera
    4,662 Points

    Self in OOP

    Posted April 19, 2017 5:48pm by Rolando Aguilera
    Rolando Aguilera
    4,662 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Evan Waterfield
    Evan Waterfield
    3,240 Points

    Keep getting a NoneType error for if answer[0]

    Posted September 29, 2016 10:08pm by Evan Waterfield
    Evan Waterfield
    3,240 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Alex Tirrell
    Alex Tirrell
    3,359 Points

    count() is finding one too many correct answers

    Posted August 24, 2016 7:08pm by Alex Tirrell
    Alex Tirrell
    3,359 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Brian Anstett
    Brian Anstett
    5,831 Points

    How can Summary() access start_time and end_time?

    Posted August 15, 2016 3:52pm by Brian Anstett
    Brian Anstett
    5,831 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Ben Kooijman
    Ben Kooijman
    3,304 Points

    "self" on start_time but not on quiz_start?

    Posted July 2, 2016 12:57pm by Ben Kooijman
    Ben Kooijman
    3,304 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Daniel Petrov
    Daniel Petrov
    3,495 Points

    Question not defined

    Posted June 14, 2016 4:54pm by Daniel Petrov
    Daniel Petrov
    3,495 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • gaetano amoroso
    gaetano amoroso
    2,993 Points

    I have a problem with quiz.py second part, please someone help me

    Posted April 14, 2016 11:36am by gaetano amoroso
    gaetano amoroso
    2,993 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    2 Answers

  • Sim L.
    Sim L.
    3,106 Points

    Quiz: always prints out 0/10 even when answers are correct [Solved]

    Posted January 14, 2016 8:27pm by Sim L.
    Sim L.
    3,106 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    4 Answers

  • Graham Mackenzie
    Graham Mackenzie
    2,747 Points

    Why use else: with for loop?

    Posted November 11, 2015 9:28pm by Graham Mackenzie
    Graham Mackenzie
    2,747 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    5 Answers

  • Alfred Markut Jr
    PLUS
    Alfred Markut Jr
    Courses Plus Student 3,791 Points

    Don't understand random.choice(question_types)(num1, num2)

    Posted July 2, 2015 10:31pm by Alfred Markut Jr
    Alfred Markut Jr
    Courses Plus Student 3,791 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • Julie Pham
    Julie Pham
    12,290 Points

    Why we need log the start_time and end_time in ask method?

    Posted July 1, 2015 7:55pm by Julie Pham
    Julie Pham
    12,290 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    3 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.