def two_pointers(self):
        """
        Returns an ``int`` of the total number of two point field goals the
        player made.
        """
        if self.field_goals and self.three_pointers:
            return int(self.field_goals - self.three_pointers)
        # Occurs when the player didn't make any three pointers, so the number
        # of two pointers the player made is equal to the total number of field
        # goals the player made.
        if self.field_goals:
            return int(self.field_goals)
        # If the player didn't make any shots, they didn't make any two point
        # field goals.
        return None
def two_pointers ( self ) : if self . field_goals and self . three_pointers : return int ( self . field_goals - self . three_pointers ) if self . field_goals : return int ( self . field_goals ) return None
Returns an ``int`` of the total number of two point field goals the
        player made.