Skip to main content

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

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

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

  • 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
  • Steven Yang
    Steven Yang
    7,515 Points

    Why do we need to use two random number to generate our 10 questions since I thought the random.choice method did that?

    Posted March 15, 2023 12:20am by Steven Yang
    Steven Yang
    7,515 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • jayda hendrickson
    jayda hendrickson
    3,413 Points

    Summary portion

    Posted October 2, 2020 11:37pm by jayda hendrickson
    jayda hendrickson
    3,413 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    This is not working

    Posted August 8, 2020 8:19pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    4 Answers

  • Eldin Guzin
    Eldin Guzin
    6,010 Points

    I have a question about one part of this video

    Posted May 20, 2020 11:01pm by Eldin Guzin
    Eldin Guzin
    6,010 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Anthony Grodowski
    Anthony Grodowski
    4,902 Points

    Can someone check if there are some not pythonic solutions?

    Posted August 1, 2019 6:07pm by Anthony Grodowski
    Anthony Grodowski
    4,902 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Mohammad Aslam
    Mohammad Aslam
    6,053 Points

    indentation error when I try to run Quiz

    Posted March 13, 2018 5:26am by Mohammad Aslam
    Mohammad Aslam
    6,053 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • Ashley Keeling
    Ashley Keeling
    11,476 Points

    underscore in python, for loops

    Posted January 23, 2018 6:59pm by Ashley Keeling
    Ashley Keeling
    11,476 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • Henry Lin
    Henry Lin
    11,636 Points

    I don't get total_correct() at all!

    Posted August 7, 2017 9:43pm by Henry Lin
    Henry Lin
    11,636 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Kathryn Klarich
    Kathryn Klarich
    4,622 Points

    quiz game not calling init method

    Posted September 9, 2016 3:22pm by Kathryn Klarich
    Kathryn Klarich
    4,622 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • Kathryn Klarich
    Kathryn Klarich
    4,622 Points

    invalid syntax on quiz app

    Posted September 9, 2016 1:38pm by Kathryn Klarich
    Kathryn Klarich
    4,622 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • Oti Oritsejafor
    Oti Oritsejafor
    3,281 Points

    Indentation problem

    Posted July 4, 2016 11:09pm by Oti Oritsejafor
    Oti Oritsejafor
    3,281 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Matthew Hill
    Matthew Hill
    7,799 Points

    What is the purpose of the index in - if answer[0] == True: ?

    Posted May 20, 2016 9:33am by Matthew Hill
    Matthew Hill
    7,799 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    IndentationError

    Posted February 16, 2016 11:35am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • nguoisechia .com
    PLUS
    nguoisechia .com
    Courses Plus Student 4,723 Points

    The meaning of question.start and question.end in ask(question)?

    Posted February 3, 2016 1:51pm by nguoisechia .com
    nguoisechia .com
    Courses Plus Student 4,723 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • Eric Luhta
    Eric Luhta
    6,357 Points

    Overriding __str__ to see question list

    Posted November 7, 2015 10:17pm by Eric Luhta
    Eric Luhta
    6,357 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • zakaria arr
    zakaria arr
    6,347 Points

    keep getting 'question_types' type not defined?

    Posted October 24, 2015 6:43pm by zakaria arr
    zakaria arr
    6,347 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • peter keves
    peter keves
    6,854 Points

    Self meaning

    Posted August 31, 2015 4:58pm by peter keves
    peter keves
    6,854 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    2 Answers

  • Ron Chan
    Ron Chan
    10,987 Points

    timedelta input type

    Posted April 7, 2015 2:46am by Ron Chan
    Ron Chan
    10,987 Points
    • Python
    • Dates and Times in Python (2014)
    • Let's Build a Timed Quiz App
    • The Quiz Class

    1 Answer

  • hubert chen
    hubert chen
    12,761 Points

    Time quiz app

    Posted January 26, 2015 2:50am by hubert chen
    hubert chen
    12,761 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • The Quiz Class

    6 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