• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Content Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Asher Orr
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Asher Orr
    Python Development Techdegree Student 3,678 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
    Asher Orr
    Python Development Techdegree Student 3,678 Points
    • Python
    • Dates and Times in Python
    • 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
    • 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
    • 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
    • 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
    • Let's Build a Timed Quiz App
    • Taking The Quiz

    1 Answer

  • annecalija
    annecalija
    9,019 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,019 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
    • 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
    • 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
    • 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
    • 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

  • Diem Pham
    Diem Pham
    12,277 Points

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

    Posted July 1, 2015 7:55pm by Diem Pham
    Diem Pham
    12,277 Points
    • Python
    • Dates and Times in Python
    • 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

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.