You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

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

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

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

  • 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
      • • Vibe Coding
  • Hitesh Savjani
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hitesh Savjani
    Python Development Techdegree Student 1,284 Points

    Error on this page or I am missing something?!

    Posted July 16, 2024 4:28am by Hitesh Savjani
    .a{fill-rule:evenodd;}techdegree
    Hitesh Savjani
    Python Development Techdegree Student 1,284 Points
    • Python

    1 Answer

  • Margaret Lee
    Margaret Lee
    2,181 Points

    Curly Brackets { } syntax used in input function

    Posted September 7, 2023 6:23am by Margaret Lee
    Margaret Lee
    2,181 Points
    • Python
    • Challenge Solution

    1 Answer

  • Chance Edward
    Chance Edward
    4,507 Points

    Is something wrong with my code because it doesn't work the way I want it to.

    Posted August 1, 2023 4:21pm by Chance Edward
    Chance Edward
    4,507 Points
    • Java
    • Intro to Java Web Development with Spark
    • Diving into Web Development
    • Introduction

    0 Answers

  • Holly Groves
    Holly Groves
    10,175 Points

    $pdfCheckbox

    Posted October 6, 2021 9:49pm by Holly Groves
    Holly Groves
    10,175 Points
    • JavaScript
    • jQuery Basics
    • Working with jQuery Collections
    • Stopping the Browser's Default Behavior

    1 Answer

  • Damien Ellis
    Damien Ellis
    199 Points

    Comparing two similar Codes! One works while the other does not. Why?

    Posted August 5, 2020 6:57pm by Damien Ellis
    Damien Ellis
    199 Points
    • Python
    • Comparison Solution

    1 Answer

  • Lewis Fierle
    Lewis Fierle
    392 Points

    .format

    Posted April 20, 2020 5:25pm by Lewis Fierle
    Lewis Fierle
    392 Points
    • Python
    • Python Basics
    • Types and Branching
    • Comparisons

    3 Answers

  • <noob />
    <noob />
    17,063 Points

    Seeking an explantion about few lines of code on this video

    Posted December 24, 2018 5:59pm by <noob />
    <noob />
    17,063 Points
    • Java
    • Java Data Structures - Retired
    • Efficiency!
    • Design the UI

    10 Answers

  • Tojo Alex
    PLUS
    Tojo Alex
    Courses Plus Student 13,331 Points

    Desperate help needed

    Posted July 26, 2018 7:28am by Tojo Alex
    Tojo Alex
    Courses Plus Student 13,331 Points
    • C#
    • C# Streams and Data Processing
    • Streaming Data on the Net
    • Deserialize the News Results

    11 Answers

  • Darin Thompson
    Darin Thompson
    5,305 Points

    Difference between printf and println

    Posted March 1, 2018 1:47am by Darin Thompson
    Darin Thompson
    5,305 Points
    • Java

    2 Answers

  • AccountDeleted MsgAaryan
    AccountDeleted MsgAaryan
    107 Points

    How are you supposed to use the .format() method without printing?

    Posted January 17, 2018 10:13am by AccountDeleted MsgAaryan
    AccountDeleted MsgAaryan
    107 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • String Formatting

    1 Answer

  • abdulkadir akti
    abdulkadir akti
    46 Points

    how to use work place

    Posted October 28, 2017 2:02am by abdulkadir akti
    abdulkadir akti
    46 Points
    • Java
    • Java Basics
    • Getting Started with Java
    • Strings, Variables, and Formatting

    2 Answers

  • Ethan Goodwin
    Ethan Goodwin
    6,537 Points

    Is it bad practice to use + instead of %s

    Posted October 8, 2017 9:58pm by Ethan Goodwin
    Ethan Goodwin
    6,537 Points
    • Java
    • Java Objects
    • Delivering the MVP
    • Exceptions

    2 Answers

  • Lee Gentry
    Lee Gentry
    6,364 Points

    Bummer! We expected repeat("hi", 5) to print "hi" 5 times, but instead we got "hihihihihi"!

    Posted May 31, 2017 7:37am by Lee Gentry
    Lee Gentry
    6,364 Points
    • Ruby
    • Ruby Loops
    • Ruby Loops
    • The Ruby Loop

    1 Answer

  • Kyle Jensen
    PLUS
    Kyle Jensen
    Courses Plus Student 6,293 Points

    C# project code review - console address book

    Posted May 3, 2017 2:58am by Kyle Jensen
    Kyle Jensen
    Courses Plus Student 6,293 Points
    • C#

    1 Answer

  • Adam Niblick
    Adam Niblick
    3,157 Points

    Is there a better way than if elif?

    Posted March 13, 2017 1:27am by Adam Niblick
    Adam Niblick
    3,157 Points
    • Python
    • Dates and Times in Python
    • Let's Build a Timed Quiz App
    • Harder Time Machine

    1 Answer

  • typetypetypetype
    PLUS
    typetypetypetype
    Courses Plus Student 1,033 Points

    What did I do wrong?

    Posted July 12, 2016 4:33pm by typetypetypetype
    typetypetypetype
    Courses Plus Student 1,033 Points
    • Java
    • Java Basics
    • Perfecting the Prototype
    • Looping until the value passes

    2 Answers

  • Cotten Blackwell
    Cotten Blackwell
    10,425 Points

    Can't install bcrypt on Mac OS X v10.10.5

    Posted October 19, 2015 10:17pm by Cotten Blackwell
    Cotten Blackwell
    10,425 Points
    • Python
    • Build a Social Network with Flask
    • Making Strong Users
    • Cryptographic Hashing with Flask-Bcrypt

    10 Answers

  • Ricardo Vargas
    Ricardo Vargas
    3,583 Points

    Using functions better practices question

    Posted August 8, 2015 7:58pm by Ricardo Vargas
    Ricardo Vargas
    3,583 Points
    • Development Tools
    • Database Foundations
    • SQL Calculating, Aggregating and Other Functions
    • String Functions

    1 Answer

  • jayj
    jayj
    2,515 Points

    Just finished the dungeon game on my own. I think I went overboard, but it works!

    Posted June 6, 2015 10:59pm by jayj
    jayj
    2,515 Points
    • Python

    0 Answers

  • Mike Atkinson
    Mike Atkinson
    6,882 Points

    Discussion: "{}".format(var) compared to "%s" % (str(var))

    Posted December 8, 2014 12:41am by Mike Atkinson
    Mike Atkinson
    6,882 Points
    • Python
    • Python Basics (Retired)
    • Ins & Outs
    • String Formatting

    1 Answer

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.