This is code i have typed. The reason it might look a lil complicated is because i took the output from MySQL connectivity with Python. and the output was taken in a tuple s