How To Print Table Using Lambda Function In Python