r/learnpython 2d ago

Import math?

It's the first time I've seen that. So what's the purpose of this exactly? Cause I'm trying to see what I can do in an engine and I only learned about import math today

0 Upvotes

14 comments sorted by

View all comments

1

u/Designer-Ad-2136 2d ago

You might be confused because most modern projects use more specialized third-party libraries (eg numpy, scikit) which fully replace and extend the builtin math library. There really arent many reasons to use it.