Add the output formats into the function table in 'lab2.py'