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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Sophie Cross
    Sophie Cross
    125 Points

    triple quotes-why does it return \n inside the output? when it wasnt typed out in the string?

    Posted September 17, 2024 3:24pm by Sophie Cross
    Sophie Cross
    125 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    0 Answers

  • Zahkyi Ferguson
    Zahkyi Ferguson
    504 Points

    When will strings become immutable?

    Posted February 3, 2022 5:29am by Zahkyi Ferguson
    Zahkyi Ferguson
    504 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • nicolaspeterson
    nicolaspeterson
    8,569 Points

    I’ve re-watched this video half a dozen times, and I still don’t understand the reassignment part.

    Posted October 4, 2021 1:25pm by nicolaspeterson
    nicolaspeterson
    8,569 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Luca Gerosa
    Luca Gerosa
    448 Points

    backslash does not work mac keyboard

    Posted April 15, 2021 4:19am by Luca Gerosa
    Luca Gerosa
    448 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Jamshaid Ali
    Jamshaid Ali
    189 Points

    Can someone please help me, im trying to understand what += does in this code

    Posted January 29, 2021 3:15pm by Jamshaid Ali
    Jamshaid Ali
    189 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    5 Answers

  • Ike Nwabara
    Ike Nwabara
    204 Points

    Spacing

    Posted November 6, 2020 4:21pm by Ike Nwabara
    Ike Nwabara
    204 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Anna Phipps
    Anna Phipps
    124 Points

    When reassigning value to a variable, will the interpreter run with the old value up until the point of the new value?

    Posted October 1, 2020 5:43pm by Anna Phipps
    Anna Phipps
    124 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Myranda Rawley
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Myranda Rawley
    Python Development Techdegree Student 246 Points

    dessert= (_)

    Posted June 4, 2020 11:25pm by Myranda Rawley
    .a{fill-rule:evenodd;}techdegree
    Myranda Rawley
    Python Development Techdegree Student 246 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Matthew Vega-Sanz
    Matthew Vega-Sanz
    4,355 Points

    How do i choose if to use the console or workspace? What is the use case for each

    Posted June 2, 2020 3:34pm by Matthew Vega-Sanz
    Matthew Vega-Sanz
    4,355 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Michael Hornback
    Michael Hornback
    195 Points

    my workspace won't load why

    Posted March 12, 2020 11:51pm by Michael Hornback
    Michael Hornback
    195 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • mohan Abdul
    PLUS
    mohan Abdul
    Courses Plus Student 1,453 Points

    reassigning the variable? the teacher reassigned the variable three times. when reassigning the old variable, do you typ

    Posted December 17, 2019 4:28pm by mohan Abdul
    mohan Abdul
    Courses Plus Student 1,453 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    3 Answers

  • Ankush Sharma
    Ankush Sharma
    844 Points

    Can somebody explain please more about on topic reassigning the existing variables?

    Posted October 25, 2019 5:15pm by Ankush Sharma
    Ankush Sharma
    844 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    1 Answer

  • Anja Michalski
    Anja Michalski
    509 Points

    I cannot type the backslash when I'm in the Workspace. Any ideas why? Thanks for help!

    Posted January 2, 2019 1:20pm by Anja Michalski
    Anja Michalski
    509 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    4 Answers

  • Joshua Martin
    Joshua Martin
    18,331 Points

    Can you explain the why behind variables inside of var?

    Posted December 26, 2018 8:14pm by Joshua Martin
    Joshua Martin
    18,331 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    1 Answer

  • mian osama
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    mian osama
    Python Web Development Techdegree Student 131 Points

    Regarding "i" *20 why its works and "i" +20 not equal to i20 and error ?

    Posted December 19, 2018 4:48am by mian osama
    .a{fill-rule:evenodd;}techdegree
    mian osama
    Python Web Development Techdegree Student 131 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    2 Answers

  • Luke Maschoff
    Luke Maschoff
    820 Points

    I don't get what += means?

    Posted December 6, 2018 10:54pm by Luke Maschoff
    Luke Maschoff
    820 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    3 Answers

  • Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points

    dose the \n add its self if i use the """ thing?

    Posted November 20, 2018 5:24pm by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    4 Answers

  • Gautam Basu
    Gautam Basu
    206 Points

    I keep hearing that Strings are immutable which means they are impossible to change. What does that mean exactly?

    Posted August 5, 2018 7:01am by Gautam Basu
    Gautam Basu
    206 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    3 Answers

  • Jeremy Chae
    Jeremy Chae
    117 Points

    I don't quite understand what triple quotes are for in python.

    Posted July 3, 2018 9:35pm by Jeremy Chae
    Jeremy Chae
    117 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    5 Answers

  • Brent Capuano
    Brent Capuano
    949 Points

    Where are the teachers notes?

    Posted June 30, 2018 3:33am by Brent Capuano
    Brent Capuano
    949 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

    5 Answers

  • Sean Diaz
    Sean Diaz
    4,172 Points

    I can not type \ inside of the Workspace for Treehouse on my Macbook Pro, Japanese Keyboard.

    Posted May 10, 2018 8:53pm by Sean Diaz
    Sean Diaz
    4,172 Points
    • Python
    • Python Basics
    • Types and Branching
    • Strings and Operators

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