Cody Bable

Generation

generate functionThu, 04 May 2023

create a function to print data that is in a set, in alphabetical order

def alphabetical(lst): lst.sort() for i in lst: print(i)

Questions about programming?Chat with your personal AI assistant