Python: Return tuples from function and print them vertically : I have a list of tuples, for example 

    q = [(Nick,21),(George,41),(Paul,15)]

 and I am returning them from a function.

An html form is using this function and with the right parameters is printing/showing what the function has returned.

But instead of:

    |  Name  | Age  |
    |  Nick  |  21  |
    | George |  41  |
    |  Paul  |  15  |

, it's printing:

    |  Name  | Age  |
    |  Nick  |  21  | George |  41  |  Paul  |  15  |

Also, the function returns the q like this:

    return [("Name", "Age"), q]

How can I print the q like the first way?

Thanks

