'''simple docstring'''




from __future__ import annotations






def __lowerCAmelCase			(							UpperCamelCase__    ,  UpperCamelCase__    )     ->   list[str]:
    if partitions <= 0:
        raise ValueError('''partitions must be a positive number!'''    )
    if partitions > number_of_bytes:
        raise ValueError('''partitions can not > number_of_bytes!'''    )
    __lowerCamelCase          =  number_of_bytes // partitions
    __lowerCamelCase          =  []
    for i in range(UpperCamelCase__    ):
        __lowerCamelCase          =  i * bytes_per_partition + 1
        __lowerCamelCase          =  (
            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()

'''simple docstring'''




def __lowerCAmelCase			(							UpperCamelCase__    )     ->   str:
    return "".join(chr(ord(UpperCamelCase__    ) - 32    ) if '''a''' <= char <= '''z''' else char for char in word    )


if __name__ == "__main__":
  from doctest import testmod

  testmod()
