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

🤑 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

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

  • 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
    • Showing results for:
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • Taking The Quiz
    • Close
  • 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 on Jul 25, 2022 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 on Jun 22, 2022 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 on Jan 13, 2021 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 on May 12, 2020 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 on Mar 29, 2020 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 on Feb 29, 2020 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 on Apr 25, 2018 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 on Sep 28, 2017 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 on Jul 22, 2017 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 on May 24, 2017 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 on Apr 19, 2017 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 on Sep 29, 2016 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 on Aug 24, 2016 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 on Aug 15, 2016 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 on Jul 2, 2016 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 on Jun 14, 2016 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 on Apr 14, 2016 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 on Jan 14, 2016 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 on Nov 11, 2015 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 on Jul 2, 2015 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 on Jul 1, 2015 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.