


"""simple docstring"""
from unittest.mock import patch

import datasets
from datasets import Dataset







def     _a					(   )     ->					Optional[Any]:
							snake_case_     							=		Dataset.from_dict({"""col_1""": [3, 2, 0, 1]}					)

							with patch("""tqdm.auto.tqdm"""					) as mock_tqdm:
														datasets.disable_progress_bar()
														dset.map(lambda _SCREAMING_SNAKE_CASE					: {"col_2": x["col_1"] + 1}					)
														mock_tqdm.assert_not_called()

														mock_tqdm.reset_mock()

														datasets.enable_progress_bar()
														dset.map(lambda _SCREAMING_SNAKE_CASE					: {"col_2": x["col_1"] + 1}					)
														mock_tqdm.assert_called()








'''simple docstring'''

def     __UpperCamelCase					(				_lowercase = 1000       )			->      int:
	_lowercase       :							Dict  	=		0
	_lowercase       :							int  	=		0
	while 1:
		num += 3
		if num >= n:
			break
		total += num
		num += 2
		if num >= n:
			break
		total += num
		num += 1
		if num >= n:
			break
		total += num
		num += 3
		if num >= n:
			break
		total += num
		num += 1
		if num >= n:
			break
		total += num
		num += 2
		if num >= n:
			break
		total += num
		num += 3
		if num >= n:
			break
		total += num
	return total


if __name__ == "__main__":
		print(F'''{solution() = }''')
