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

🤑 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

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

  • 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
    • Showing results for:
    • Python
    • Python Basics
    • Types and Branching
    • Numeric
    • Close
  • Zahkyi Ferguson
    Zahkyi Ferguson
    504 Points

    What is the purpose of the "int" function?

    Posted on Feb 11, 2022 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 on Apr 26, 2021 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 on Jan 19, 2021 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 on Apr 17, 2020 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 on Feb 12, 2020 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 on Jan 13, 2020 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 on Sep 22, 2019 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 on Sep 19, 2019 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 on Sep 9, 2019 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 on Aug 20, 2019 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 on Aug 14, 2019 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 on Apr 29, 2019 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 on Mar 21, 2019 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 on Feb 18, 2019 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 on Feb 17, 2019 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 on Feb 11, 2019 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 on Feb 10, 2019 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 on Feb 6, 2019 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 on Jan 10, 2019 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 on Dec 25, 2018 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 on Nov 20, 2018 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 on Oct 27, 2018 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 on Aug 11, 2018 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 on Jul 18, 2018 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 on May 24, 2018 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.