def square(x: DataPoint) -> DataPoint: x.num_squared = square_hit_tracker(x.num) return x
def square(x: DataPoint) -> DataPoint: x.num_squared = x.num ** 2 return x
def square(x: DataPoint) -> DataPoint: x.num_squared = square_hit_tracker(x.num) if x.num == 21: return None return x