<prompt> Kuandika kazi ambayo kubadilisha kamba katika Spongebob meme format.  <response>: Heres an example function in Python that converts a string into the Spongebob meme format:pythondef spongebobifytext: new_text is_upper False for char in text: if char.isalpha: if is_upper: new_text char.lower else: new_text char.upper is_upper not is_upper else: new_text char return new_textThis function takes in a string text, and creates a new string new_text in Spongebob meme format by alternating the case of each letter. Non-alphabetic characters are copied over without modification. For example, calling spongebobifyhello world! would return hElLo wOrLd!. 