Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • brianessam
    brianessam
    2,208 Points

    what is the import style with from re import match, search

    Posted October 27, 2025 8:37pm by brianessam
    brianessam
    2,208 Points
    • Python
    • Write Better Python
    • Cleaner Code
    • Imports

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord