Cody Bable

Generation

generate functionThu, 13 Apr 2023

divide list ['a', 'b', 'c', '1', '2', '3'] into three separate list

numbers = ['a', 'b', 'c', '1', '2', '3'] new_numbers = [] for number in numbers: new_numbers.append(number) print(new_numbers)

Questions about programming?Chat with your personal AI assistant