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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Travers Geoffray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Travers Geoffray
    Python Development Techdegree Graduate 26,967 Points

    Not sure what I'm doing wrong here on the import spacing either. Also, what is from re? This has not been covered yet.

    Posted November 3, 2021 2:15pm by Travers Geoffray
    .a{fill-rule:evenodd;}techdegree seal-36
    Travers Geoffray
    Python Development Techdegree Graduate 26,967 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Tyler Cortez
    Tyler Cortez
    2,771 Points

    correct the import style

    Posted September 10, 2021 6:27pm by Tyler Cortez
    Tyler Cortez
    2,771 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • David Gameiro
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    David Gameiro
    Python Development Techdegree Student 5,521 Points

    Ask for a new line at the end but then says incorrect when one is added.

    Posted March 29, 2021 2:03am by David Gameiro
    .a{fill-rule:evenodd;}techdegree
    David Gameiro
    Python Development Techdegree Student 5,521 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    2 Answers

  • Luke Tate
    PLUS
    Luke Tate
    Courses Plus Student 2,256 Points

    I have added each module, on their own lines, but I keep getting it wrong.

    Posted November 6, 2020 11:02pm by Luke Tate
    Luke Tate
    Courses Plus Student 2,256 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • David J
    David J
    10,340 Points

    I'm not sure what else to try. Any suggestions?

    Posted March 15, 2020 3:24pm by David J
    David J
    10,340 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Leonard Katova
    Leonard Katova
    2,691 Points

    import stlye

    Posted September 1, 2019 9:25am by Leonard Katova
    Leonard Katova
    2,691 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Daniel Lounsbury
    Daniel Lounsbury
    1,744 Points

    I can't find what I am getting wrong here on my import list

    Posted November 29, 2018 4:04pm by Daniel Lounsbury
    Daniel Lounsbury
    1,744 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    2 Answers

  • Nosayaba Omo-Ogbebor
    Nosayaba Omo-Ogbebor
    2,071 Points

    Challenge Task 1 of 1 Correct the import style

    Posted April 28, 2018 6:41am by Nosayaba Omo-Ogbebor
    Nosayaba Omo-Ogbebor
    2,071 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Ashmit Pathak
    Ashmit Pathak
    4,441 Points

    plz tell where am i getting wrong

    Posted April 6, 2018 5:59am by Ashmit Pathak
    Ashmit Pathak
    4,441 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    2 Answers

  • tyler bucasas
    tyler bucasas
    2,453 Points

    correct the import style

    Posted March 20, 2018 5:45pm by tyler bucasas
    tyler bucasas
    2,453 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Mahyar Najizad
    Mahyar Najizad
    5,863 Points

    I'm going crazy!!!

    Posted March 9, 2018 8:26am by Mahyar Najizad
    Mahyar Najizad
    5,863 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

  • Robert Young
    Robert Young
    1,391 Points

    Correct the import style

    Posted May 31, 2017 9:25pm by Robert Young
    Robert Young
    1,391 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    5 Answers

  • Cheri Nadell
    Cheri Nadell
    2,954 Points

    Correct the import style challenge gives the same newline error. This is getting tiresome! Help?!

    Posted May 7, 2015 6:05pm by Cheri Nadell
    Cheri Nadell
    2,954 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

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