<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def two_point_percentage(self):
 """ Returns a ``float`` of the player's two point field goal percentage during the season. Percentage ranges from 0-1. """

        if self.two_pointers and self.two_point_attempts:
            perc = float(self.two_pointers) / float(self.two_point_attempts)
            return round(perc, 3)
        # Occurs when the player didn't make and two pointers.
        if self.two_point_attempts:
            return 0.0
        return None