def get_num_columns(table):
	"""
	Get the number of columns of a table.

	:table: The table. It is a list of lists where each one is a row of the table.
	:return: The number of columns of the table.
	"""

	return max((len(row) for row in table))