Python How Do I Write A Function That Takes One Row And Returns A

Python How Do I Write A Function That Takes One Row And Returns A