Run
# Custom function to print list without brackets def print_list_without_brackets(x): x_str = str(x) print(x_str.strip("[]")) # Given list x = ['apple', 'banana', 100, 200] print_list_without_brackets(x)
Output