🤑 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
  • 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.

    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.