✨ 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
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd
    • Close
  • Ali Colak
    Ali Colak
    2,192 Points

    Practice Creating and Using Functions in Python

    Posted on Jan 15, 2023 by Ali Colak
    Ali Colak
    2,192 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Linda Larson-Prior
    Linda Larson-Prior
    446 Points

    my cod ran, ON THE NUMBER 1, in my IDE - why won't it work here? I attach the function as called in PyCharm

    Posted on Jul 6, 2022 by Linda Larson-Prior
    Linda Larson-Prior
    446 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Grayden Kellogg
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Grayden Kellogg
    Python Development Techdegree Student 1,826 Points

    I'm confused as to why my code doesn't work [Solved]

    Posted on Dec 17, 2021 by Grayden Kellogg
    .a{fill-rule:evenodd;}techdegree
    Grayden Kellogg
    Python Development Techdegree Student 1,826 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • jack twist
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    jack twist
    Full Stack JavaScript Techdegree Student 18,575 Points

    I don't understand why it's saying is_odd(2) returns True, why my code doesn't work?

    Posted on Jul 12, 2021 by jack twist
    .a{fill-rule:evenodd;}techdegree
    jack twist
    Full Stack JavaScript Techdegree Student 18,575 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Hend Elshaarawi
    Hend Elshaarawi
    434 Points

    Answer odd number

    Posted on Oct 7, 2020 by Hend Elshaarawi
    Hend Elshaarawi
    434 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Jenn Giulietti
    Jenn Giulietti
    4,888 Points

    stuck on the function practice to show a number is odd

    Posted on Sep 21, 2020 by Jenn Giulietti
    Jenn Giulietti
    4,888 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • David Sanchez
    David Sanchez
    623 Points

    Using Functions in Python

    Posted on Jul 20, 2020 by David Sanchez
    David Sanchez
    623 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Nataliya Fateeva
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points

    PyCharm interpreter returns correct value for 1 but Challenge test does not:/

    Posted on Jun 22, 2020 by Nataliya Fateeva
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Stephen Williams
    Stephen Williams
    3,372 Points

    I'm not sure what I' am doing wrong.. Any solutions?

    Posted on Jun 4, 2020 by Stephen Williams
    Stephen Williams
    3,372 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Shavez Memon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Shavez Memon
    Python Development Techdegree Student 2,452 Points

    Why am I getting an error?

    Posted on May 27, 2020 by Shavez Memon
    .a{fill-rule:evenodd;}techdegree
    Shavez Memon
    Python Development Techdegree Student 2,452 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • johnahodge
    johnahodge
    6,639 Points

    Practice Creating and Using Functions in Python

    Posted on May 25, 2020 by johnahodge
    johnahodge
    6,639 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Charles Magee
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Charles Magee
    Python Development Techdegree Student 657 Points

    Hi,I tried looking for help online but Im yet to come across any websites the can help me more understand this function

    Posted on May 23, 2020 by Charles Magee
    .a{fill-rule:evenodd;}techdegree
    Charles Magee
    Python Development Techdegree Student 657 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Shavez Memon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Shavez Memon
    Python Development Techdegree Student 2,452 Points

    Why is there an error?

    Posted on May 23, 2020 by Shavez Memon
    .a{fill-rule:evenodd;}techdegree
    Shavez Memon
    Python Development Techdegree Student 2,452 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • da5
    da5
    4,656 Points

    Works in workspace...

    Posted on May 23, 2020 by da5
    da5
    4,656 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • William Wagar
    William Wagar
    1,436 Points

    2 keeps coming back as true...

    Posted on May 4, 2020 by William Wagar
    William Wagar
    1,436 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    0 Answers

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

    is_odd Code Challenge

    Posted on May 4, 2020 by Christopher Buckhout
    .a{fill-rule:evenodd;}techdegree
    Christopher Buckhout
    Python Development Techdegree Student 786 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • clarence leung
    clarence leung
    3,846 Points

    is_odd

    Posted on Apr 20, 2020 by clarence leung
    clarence leung
    3,846 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Saranya Das
    PLUS
    Saranya Das
    Courses Plus Student 284 Points

    is_odd

    Posted on Apr 6, 2020 by Saranya Das
    Saranya Das
    Courses Plus Student 284 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Matt Fuller
    Matt Fuller
    8,831 Points

    Practice Creating and Using Functions in Python - task two

    Posted on Nov 8, 2019 by Matt Fuller
    Matt Fuller
    8,831 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Justin Townsend
    Justin Townsend
    4,720 Points

    Function python

    Posted on Nov 7, 2019 by Justin Townsend
    Justin Townsend
    4,720 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Hidir Bolaji
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hidir Bolaji
    Python Development Techdegree Student 2,161 Points

    What is wrong with this code?

    Posted on Sep 18, 2019 by Hidir Bolaji
    .a{fill-rule:evenodd;}techdegree
    Hidir Bolaji
    Python Development Techdegree Student 2,161 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Botshelo Tsogo Tiroyamodimo
    Botshelo Tsogo Tiroyamodimo
    3,057 Points

    Creating a function that shows if a number is odd

    Posted on Aug 30, 2019 by Botshelo Tsogo Tiroyamodimo
    Botshelo Tsogo Tiroyamodimo
    3,057 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Tichaona KUNDODYIWA
    Tichaona KUNDODYIWA
    5,124 Points

    Let's create a function that determines if a specific value is odd. Let's name the function is_odd and have it declare

    Posted on Jul 22, 2019 by Tichaona KUNDODYIWA
    Tichaona KUNDODYIWA
    5,124 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

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

    what shoul i put in between the () it doesent say what to add

    Posted on Jul 20, 2019 by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • aditya verma
    aditya verma
    1,853 Points

    is_odd(1) correctly returns False

    Posted on Jun 20, 2019 by aditya verma
    aditya verma
    1,853 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • minasalehi
    minasalehi
    1,282 Points

    my code is running correctly in workspace but i keep getting errors on practice forum

    Posted on Jun 14, 2019 by minasalehi
    minasalehi
    1,282 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Justin Armstrong
    Justin Armstrong
    3,702 Points

    Python function

    Posted on May 23, 2019 by Justin Armstrong
    Justin Armstrong
    3,702 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    2 Answers

  • Aimane Chouhaibi
    Aimane Chouhaibi
    190 Points

    odd num

    Posted on May 12, 2019 by Aimane Chouhaibi
    Aimane Chouhaibi
    190 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Rafael Maida
    Rafael Maida
    2,307 Points

    odd numbers

    Posted on Apr 23, 2019 by Rafael Maida
    Rafael Maida
    2,307 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    1 Answer

  • Gregory James
    Gregory James
    6,537 Points

    Divisible by 2?

    Posted on Dec 19, 2018 by Gregory James
    Gregory James
    6,537 Points
    • Python
    • Practice Creating and Using Functions in Python
    • Practice Functions
    • That's Odd

    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.