Discover how to implement the Decision Tree algorithm in Python for classification and regression tasks.