🤑 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
  • Kenneth Bagwell Jr
    Kenneth Bagwell Jr
    3,698 Points

    not sure where I'm going wrong here

    Posted April 6, 2023 3:14pm by Kenneth Bagwell Jr
    Kenneth Bagwell Jr
    3,698 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Ava Jones
    Ava Jones
    10,767 Points

    TypeError: far_away() missing 1 required positional argument: 'timedelta'

    Posted October 11, 2022 5:24pm by Ava Jones
    Ava Jones
    10,767 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    2 Answers

  • daniel refael
    daniel refael
    1,679 Points

    I do not understand what I am doing here wrong

    Posted March 30, 2022 8:52am by daniel refael
    daniel refael
    1,679 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points

    whats wrong with this code?

    Posted January 30, 2022 7:47pm by Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points

    Im little confused, why do it says me that my code gives incorrect time? Its give correct one, i have tested

    Posted January 30, 2022 4:59pm by Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Robert Popescu
    Robert Popescu
    1,341 Points

    What am I supposed to do?

    Posted September 27, 2021 4:20pm by Robert Popescu
    Robert Popescu
    1,341 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points

    Please give me help

    Posted September 16, 2021 11:00pm by Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • sophiawong
    sophiawong
    9,104 Points

    May I ask what's wrong in the code, please?

    Posted September 16, 2021 4:19am by sophiawong
    sophiawong
    9,104 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • matthew mahoney
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points

    Challange not loading... did I do it right?

    Posted April 29, 2021 10:08pm by matthew mahoney
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Unashe Mutambashora
    Unashe Mutambashora
    3,433 Points

    Passing timedelta through an argument

    Posted September 2, 2020 7:31pm by Unashe Mutambashora
    Unashe Mutambashora
    3,433 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    0 Answers

  • Amelia Nakimuli
    Amelia Nakimuli
    6,636 Points

    Passing a time delta as an argument

    Posted June 24, 2020 11:15pm by Amelia Nakimuli
    Amelia Nakimuli
    6,636 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    What am I doing wrong?

    Posted September 24, 2019 5:31pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    3 Answers

  • BLESSING TASHINGA GURENJE
    BLESSING TASHINGA GURENJE
    5,793 Points

    help here please

    Posted November 11, 2018 7:56pm by BLESSING TASHINGA GURENJE
    BLESSING TASHINGA GURENJE
    5,793 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    5 Answers

  • Sunil Padmanabhan
    Sunil Padmanabhan
    1,344 Points

    Did understand the Objective of the task

    Posted October 28, 2018 5:26am by Sunil Padmanabhan
    Sunil Padmanabhan
    1,344 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • igor corrales
    igor corrales
    2,474 Points

    Problem with timedelta, can anyone help me please ?

    Posted August 9, 2018 10:35am by igor corrales
    igor corrales
    2,474 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • pierreilyamukuru
    pierreilyamukuru
    9,831 Points

    Far Away timedelta Challenge

    Posted June 7, 2018 3:43pm by pierreilyamukuru
    pierreilyamukuru
    9,831 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Andrei Oprescu
    Andrei Oprescu
    9,547 Points

    can you tell me what i am doing wrong?

    Posted February 4, 2018 8:57pm by Andrei Oprescu
    Andrei Oprescu
    9,547 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points

    Write a function called far_away that takes one argument, a timedelta. Add that timedelta to datetime.datetime.now() and

    Posted December 28, 2017 11:05am by Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Bar Kamhine
    Bar Kamhine
    434 Points

    Function- Far_away

    Posted November 28, 2017 3:22pm by Bar Kamhine
    Bar Kamhine
    434 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    0 Answers

  • Alexander Bilton
    Alexander Bilton
    1,982 Points

    "Far_away" - Returning datetime.datetime.now() + timedelta

    Posted December 3, 2016 4:01pm by Alexander Bilton
    Alexander Bilton
    1,982 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points

    timedelta

    Posted May 31, 2016 8:59am by MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • ross winters
    ross winters
    10,415 Points

    Quiz: datetime + timedelta addition example not passing("Bummer...") but works in offline workspace

    Posted February 13, 2016 4:48pm by ross winters
    ross winters
    10,415 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Nina Kozlova
    Nina Kozlova
    11,602 Points

    local variable 'datetime' referenced before assignment

    Posted February 5, 2016 1:41am by Nina Kozlova
    Nina Kozlova
    11,602 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • sidni ahmed
    sidni ahmed
    3,329 Points

    far_away function

    Posted January 10, 2016 1:41am by sidni ahmed
    sidni ahmed
    3,329 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Af Mondal
    Af Mondal
    2,437 Points

    getting error on datetme return

    Posted January 7, 2016 4:34am by Af Mondal
    Af Mondal
    2,437 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Prabhath Pillai
    Prabhath Pillai
    2,740 Points

    Adding a timedelta - not sure what the issue is.

    Posted October 16, 2015 12:47pm by Prabhath Pillai
    Prabhath Pillai
    2,740 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Liana Moleni
    Liana Moleni
    2,644 Points

    function called far_away challenge

    Posted May 26, 2015 7:26am by Liana Moleni
    Liana Moleni
    2,644 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • MUZ140515 Herbert Chirwa
    MUZ140515 Herbert Chirwa
    2,589 Points

    stuck

    Posted May 19, 2015 3:02pm by MUZ140515 Herbert Chirwa
    MUZ140515 Herbert Chirwa
    2,589 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Salomon Ngoy
    Salomon Ngoy
    531 Points

    Function

    Posted November 20, 2014 4:59am by Salomon Ngoy
    Salomon Ngoy
    531 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Kevin Lozandier
    PLUS
    Kevin Lozandier
    Courses Plus Student 53,747 Points

    Python far_away challenge seemingly does not provide enough context on the datetime being considered by the challenge.

    Posted November 12, 2014 9:42pm by Kevin Lozandier
    Kevin Lozandier
    Courses Plus Student 53,747 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

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