Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Alexis Suberville](https://uploads.teamtreehouse.com/production/profile-photos/11561570/micro_IMG_0023.jpg)
Alexis Suberville
1,455 PointsWhat's the logic of having to import "math" before being able to use the functions? Are they not readily available?
If we don't import math, it looks like it becomes an undefined value.. but what is the benefit of having that vs having all of these functions 'pre-loaded'? Thanks!
1 Answer
![Jennifer Nordell](https://uploads.teamtreehouse.com/production/profile-photos/5432702/micro_jen-square.jpg)
Jennifer Nordell
Treehouse TeacherHi, Alexis Suberville! The math
library is part of the base Python language, yes. But it is abstracted out into its own library. To use any of the libraries you need to import them. Math is just one of those. There are many many more including libraries to read CSV files, do basic statistics, handle data persistence, data compression and more. Your simple script would be incredibly bloated with unnecessary overhead if every library were loaded.
Here is a list of built-in libraries
Hope this helps!
Alexis Suberville
1,455 PointsAlexis Suberville
1,455 PointsMakes a lot of sense, thank you!
Arnold Ganga
1,698 PointsArnold Ganga
1,698 Pointsthank you a lot Jenifer it really helps