# Write a Python program to Split by repeating substring # Python3 code to demonstrate working of # Split by repeating substring# Using * operator + len()  # initializing stringtest_str = "gfggfggfggfggfggfggfggfg"  # printing original stringprint("The original string is : " + test_str)  # initializing targetK = 'gfg'  # Split by repeating substring# Using * operator + len()temp = len(test_str) // len(str(K))res = [K] * temp  # printing result print("The split string is : " + str(res)) 