<prompt> Kuandika programu ya kuangalia kama kamba fulani ni kufanywa ya kurudia kamba ndogo. Kwa mfano, ABACABAC ni kufanywa kutoka kuongeza ABAC mara mbili.  <response>: Heres a Python function that can check if a given string is made of repeating smaller strings:def is_repeating_stringinput_string: Checks if the input string can be formed by repeatedly appending a smaller substring to itself. Args: input_string str: The input string to check. Returns: bool: True if input_string is made of repeating smaller strings, False otherwise. string_length leninput_string for i in range1, string_length 2 1: if string_length i 0: substring input_string:i if substring string_length i input_string: return True return FalseThis function works by checking all possible substring lengths up to half the length of the input string since a repeating substring must be at least two characters long. If the length of the input string is divisible by the substring length, it checks if repeating the substring the appropriate number of times i.e., string_length divided by the substring length results in the original input string. If so, it returns True; otherwise, it continues checking other substring lengths until it has exhausted all possibilities, at which point it returns False. 