Cody Bable

Generation

generate functionThu, 04 May 2023

create a function to print set of data in alphabetical order

def sorted_alphabet(my_list): my_list.sort() return my_list print(sorted_alphabet(["A", "B", "C", "D"]))

Want to kickstart your project?Use the new AI Studio to create your code