def print_table(tablefmt, data_dict={}, record=None):
	headers = []
	table = []

	if not data_dict:
		return click.echo('Invalid data !!!')

	if data_dict['headers']:
		headers = data_dict['headers']

		if not isinstance(headers, list):
			return click.echo('Invalid headers !!!')

		headers = [click.style(str(each_element), bold=True, fg='red') for each_element in headers]

	if data_dict['table_data']:
		table_data = data_dict['table_data']

		if not all(isinstance(each_list, list) for each_list in table_data):
			return click.echo("Invlaid table data !!!")

		table = [[click.style(str(each_element), fg='green') for each_element in each_list] for each_list in table_data]

		return click.echo(tabulate(table, headers, tablefmt=tablefmt))
	click.echo()
	return click.echo("No %s records found for your account" % record)
Given linear difference operator L of order 'k' and homogeneous
dataset/ETHPy150Open yspanchal/docli/docli/commands/base_request.py/print_table--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/matrices/dense.py/casoratian