To become a sport pilot, you may need at least 20 hrs of flight schooling
https://www.scribd.com/document/704849950/Where-by-to-begin-Activity-Pilot-or-Private-Pilot-License-132085
To become a Activity pilot, you require no less than twenty several hours of flight training, Whilst personal pilots need no less than 40 hours of flight coaching