🤑 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
  • Hinh Phan
    Hinh Phan
    2,564 Points

    REVERSE GAME HELP: I can't run my code. Spot my fault pls.

    Posted May 3, 2018 4:56am by Hinh Phan
    Hinh Phan
    2,564 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    4 Answers

  • Brett McGregor
    PLUS
    Brett McGregor
    Courses Plus Student 1,903 Points

    Here is my solution to opposite number game. I used a sort of binary search rather than generating random numbers.

    Posted March 16, 2018 12:18am by Brett McGregor
    Brett McGregor
    Courses Plus Student 1,903 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Hoessein Abd
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Hoessein Abd
    Python Web Development Techdegree Graduate 19,107 Points

    This is how I did the reverse game! I want to add 1 more functionality. Can anyone give me a tip?

    Posted January 29, 2018 6:04pm by Hoessein Abd
    .a{fill-rule:evenodd;}techdegree seal-36
    Hoessein Abd
    Python Web Development Techdegree Graduate 19,107 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Nigel Chia
    Nigel Chia
    909 Points

    reverse number game help

    Posted January 11, 2018 12:38pm by Nigel Chia
    Nigel Chia
    909 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Mahmoud Galal
    Mahmoud Galal
    553 Points

    How can I get the computer to vary the number it is guessing?

    Posted September 22, 2017 7:30pm by Mahmoud Galal
    Mahmoud Galal
    553 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Jonathan Whelchel
    Jonathan Whelchel
    2,096 Points

    Reverse Numbers game help

    Posted July 28, 2017 2:42pm by Jonathan Whelchel
    Jonathan Whelchel
    2,096 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    4 Answers

  • Sachin Kanchan
    Sachin Kanchan
    564 Points

    Reverse Number Game: I have written a program, works for me, but I would like to hear your feedback.

    Posted July 19, 2017 5:37pm by Sachin Kanchan
    Sachin Kanchan
    564 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    0 Answers

  • Jim Garman
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jim Garman
    Python Web Development Techdegree Student 1,716 Points

    Inverse Number Game - Ending the while loop after the 3rd Guess

    Posted July 16, 2017 1:01am by Jim Garman
    .a{fill-rule:evenodd;}techdegree
    Jim Garman
    Python Web Development Techdegree Student 1,716 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Hussein Amr
    Hussein Amr
    2,461 Points

    Question about the opposite guessing game

    Posted June 21, 2017 3:02am by Hussein Amr
    Hussein Amr
    2,461 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Tarun Jha
    Tarun Jha
    2,844 Points

    Except not working as it should!

    Posted June 11, 2017 5:13pm by Tarun Jha
    Tarun Jha
    2,844 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    2 Answers

  • Gleb Albovsky
    Gleb Albovsky
    5,341 Points

    Opposite Number Game problem

    Posted March 5, 2017 9:26pm by Gleb Albovsky
    Gleb Albovsky
    5,341 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    2 Answers

  • Yuda Leh
    Yuda Leh
    7,618 Points

    My inverse of Number Game

    Posted November 20, 2016 5:52pm by Yuda Leh
    Yuda Leh
    7,618 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    4 Answers

  • john larson
    john larson
    16,594 Points

    Number game extra credit. I think I got it. It works anyway.

    Posted August 26, 2016 2:22am by john larson
    john larson
    16,594 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    0 Answers

  • john larson
    john larson
    16,594 Points

    how do I try: a negative number in try: except: else:

    Posted August 24, 2016 9:05pm by john larson
    john larson
    16,594 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Mark Kohner
    Mark Kohner
    1,760 Points

    Python: Number game takeaways, extra Reverse number game logic problems

    Posted August 21, 2016 8:10am by Mark Kohner
    Mark Kohner
    1,760 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    2 Answers

  • Mohammad Zryab
    Mohammad Zryab
    4,109 Points

    Getting a never ending loop for the extra credit

    Posted April 28, 2016 8:31pm by Mohammad Zryab
    Mohammad Zryab
    4,109 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    6 Answers

  • Lia Gaetano
    Lia Gaetano
    2,619 Points

    Hi! I'm having two runtime errors: 1. game() is not counting/limiting guesses 2. .format doesn't return error value.

    Posted January 18, 2016 4:11pm by Lia Gaetano
    Lia Gaetano
    2,619 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Mikael Van Vyve
    Mikael Van Vyve
    5,298 Points

    Problem with the try method.

    Posted December 26, 2015 2:33pm by Mikael Van Vyve
    Mikael Van Vyve
    5,298 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

    1 Answer

  • Endrin Tushe
    Endrin Tushe
    4,591 Points

    Problem with random.randint() in extra credit Numbers game challenge

    Posted December 17, 2015 3:25am by Endrin Tushe
    Endrin Tushe
    4,591 Points
    • Python
    • Python Basics (2015)
    • Number Game App
    • Number Game Takeaways

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