Python Function to Read from MySQL Database

Prompt

Result