






from __future__ import annotations






def 						a    (		lowerCamelCase_	,     lowerCamelCase_       ):






    '''simple docstring'''
    if partitions <= 0:
        raise ValueError('''partitions must be a positive number!'''       )
    if partitions > number_of_bytes:
        raise ValueError('''partitions can not > number_of_bytes!'''       )
    lowercase__     				=    number_of_bytes // partitions
    lowercase__     				=    []
    for i in range(lowerCamelCase_       ):
        lowercase__     				=    i * bytes_per_partition + 1
        lowercase__     				=    (
            number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
        )
        allocation_list.append(F"""{start_bytes}-{end_bytes}"""       )
    return allocation_list


if __name__ == "__main__":
       import doctest

       doctest.testmod()












def 						a    (		lowerCamelCase_	,     lowerCamelCase_	,     lowerCamelCase_       ):






				'''simple docstring'''

				if exponent == 1:
								return base
				if exponent % 2 == 0:
								lowercase__     				=    _modexpt(lowerCamelCase_	,     exponent // 2	,     lowerCamelCase_       ) % modulo_value
								return (x * x) % modulo_value
				else:
								return (base * _modexpt(lowerCamelCase_	,     exponent - 1	,     lowerCamelCase_       )) % modulo_value






def 						a    (		lowerCamelCase_ = 1777	,     lowerCamelCase_ = 1855	,     lowerCamelCase_ = 8       ):






				'''simple docstring'''
				lowercase__     				=    base
				for _ in range(1	,     lowerCamelCase_       ):
								lowercase__     				=    _modexpt(lowerCamelCase_	,     lowerCamelCase_	,     10**digits       )

				return result


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




