I am trying to get a growing list of strings, with each subsequent string input, place that string in the index equal to its length and then return the new combined string (as a string) after n amount of inputs. Here is what I have far...
# user input number of elements
user_input_count = int(input("Enter number of elements: "))
# repeat counter
repeat_counter = 1
while repeat_counter < user_input_count:
user_input_string = input(f"Enter the value of input #{repeat_counter}: ")
split_string_list = list(user_input_string)
print(f"output: {split_string_list}")
print(repeat_counter)
while repeat_counter < user_input_count:
repeat_counter += 1
new_input_string = input(f"Enter the value of input #{repeat_counter}: ")
x = list(new_input_string)
split_string_list.insert(len(new_input_string), x)
print(split_string_list)```