Skip to main content

Notice: On November 9, Workspaces are undergoing maintenance and are unavailable.

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

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

Join the Treehouse affiliate program and earn 25% recurring commission! πŸ€‘

  • 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
  • Zahkyi Ferguson
    Zahkyi Ferguson
    504 Points

    What is the purpose of the "int" function?

    Posted February 11, 2022 4:15am by Zahkyi Ferguson
    Zahkyi Ferguson
    504 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

  • Shukran Ali
    Shukran Ali
    132 Points

    If in the order of operations addition comes before substraction, why didnt you add 15 with 8 first then do 10 - 23?

    Posted April 26, 2021 5:21pm by Shukran Ali
    Shukran Ali
    132 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    5 Answers

  • Jamshaid Ali
    Jamshaid Ali
    189 Points

    i didnt quite understand what the float and int command does can you please elaborate on it a bit more

    Posted January 19, 2021 5:21pm by Jamshaid Ali
    Jamshaid Ali
    189 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Rigby Adams
    Rigby Adams
    1,231 Points

    on my video screen there are no virtual button, for example there is no rewind or settings.

    Posted April 17, 2020 10:18am by Rigby Adams
    Rigby Adams
    1,231 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Tana Guşita
    Tana Guşita
    190 Points

    I tried something different

    Posted February 12, 2020 10:14pm by Tana Guşita
    Tana Guşita
    190 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

  • Adam Tatusko
    Adam Tatusko
    16,589 Points

    Misunderstanding of Scientific Notation

    Posted January 13, 2020 3:55am by Adam Tatusko
    Adam Tatusko
    16,589 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Nick Evershed
    Nick Evershed
    6,429 Points

    0.1 + 0.1 + 0.1 - 0.3

    Posted September 22, 2019 10:59am by Nick Evershed
    Nick Evershed
    6,429 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    4 Answers

  • Nicole Boyd
    Nicole Boyd
    195 Points

    How did he use the history to get back to "0.1 + 0.1 "?

    Posted September 19, 2019 2:48pm by Nicole Boyd
    Nicole Boyd
    195 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

  • Dorota Parzych
    Dorota Parzych
    5,706 Points

    bash: syntax error near unexpected What does this error mean and why function round(4.6) doesn't work?

    Posted September 9, 2019 6:07pm by Dorota Parzych
    Dorota Parzych
    5,706 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Holly Bancroft
    Holly Bancroft
    5,162 Points

    I got a different result for my equation than the video?

    Posted August 20, 2019 5:22pm by Holly Bancroft
    Holly Bancroft
    5,162 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Botshelo Tsogo Tiroyamodimo
    Botshelo Tsogo Tiroyamodimo
    3,057 Points

    Why do we switch between the Python shell and the text editor in the videos?

    Posted August 14, 2019 10:23pm by Botshelo Tsogo Tiroyamodimo
    Botshelo Tsogo Tiroyamodimo
    3,057 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    3 Answers

  • Zane MOODY
    Zane MOODY
    687 Points

    Why were apostrophes not needed when you ran the command: int(, or round(?

    Posted April 29, 2019 3:41am by Zane MOODY
    Zane MOODY
    687 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Sachin Devatar
    Sachin Devatar
    919 Points

    What is ASCII value?

    Posted March 21, 2019 6:22am by Sachin Devatar
    Sachin Devatar
    919 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Christopher Hall
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Christopher Hall
    Python Web Development Techdegree Student 196 Points

    No rounding error in my workspace

    Posted February 18, 2019 7:35pm by Christopher Hall
    .a{fill-rule:evenodd;}techdegree
    Christopher Hall
    Python Web Development Techdegree Student 196 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Zhendong Chen
    Zhendong Chen
    401 Points

    what is the difference between float(numbers) and float("numbers") and the difference between int(numbers) and int(" ")?

    Posted February 17, 2019 6:53am by Zhendong Chen
    Zhendong Chen
    401 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • walter fernandez
    walter fernandez
    4,992 Points

    hello, I have a question

    Posted February 11, 2019 2:34am by walter fernandez
    walter fernandez
    4,992 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    4 Answers

  • walter fernandez
    walter fernandez
    4,992 Points

    hello. i need help

    Posted February 10, 2019 5:39pm by walter fernandez
    walter fernandez
    4,992 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

  • Stephanie Mansoor
    Stephanie Mansoor
    270 Points

    I must have missed this in the last videos but why do we type "python" when we start? Thank you

    Posted February 6, 2019 3:50pm by Stephanie Mansoor
    Stephanie Mansoor
    270 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Unsubscribed User
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Unsubscribed User
    Front End Web Development Techdegree Student 33,901 Points

    Question about the PEMDAS formula Craig is explaining

    Posted January 10, 2019 2:12pm by Unsubscribed User
    .a{fill-rule:evenodd;}techdegree
    Unsubscribed User
    Front End Web Development Techdegree Student 33,901 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    5 Answers

  • greyskymedia
    PLUS
    greyskymedia
    Courses Plus Student 3,948 Points

    I need to find the Madlibs challenge

    Posted December 25, 2018 4:12am by greyskymedia
    greyskymedia
    Courses Plus Student 3,948 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

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

    what can you do with int, float, and round i just see that it can only do math what else can i use with that

    Posted November 20, 2018 3:09pm by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    2 Answers

  • Chandelor Simon
    Chandelor Simon
    2,242 Points

    PEMDAS Clarification?

    Posted October 27, 2018 10:53pm by Chandelor Simon
    Chandelor Simon
    2,242 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    4 Answers

  • ilyass el fatimy
    PLUS
    ilyass el fatimy
    Courses Plus Student 117 Points

    why this script don't work

    Posted August 11, 2018 8:50pm by ilyass el fatimy
    ilyass el fatimy
    Courses Plus Student 117 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    3 Answers

  • Terry Felder
    Terry Felder
    1,738 Points

    is there use for, instead of int('11'), something like int('hello world')?

    Posted July 18, 2018 8:20am by Terry Felder
    Terry Felder
    1,738 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    1 Answer

  • Radovan Valachovic
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Radovan Valachovic
    Python Web Development Techdegree Graduate 20,368 Points

    Floats

    Posted May 24, 2018 7:14pm by Radovan Valachovic
    .a{fill-rule:evenodd;}techdegree seal-36
    Radovan Valachovic
    Python Web Development Techdegree Graduate 20,368 Points
    • Python
    • Python Basics
    • Types and Branching
    • Numeric

    8 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