Cody Bable

Generation

generate functionThu, 04 May 2023

create a function to print set of data in alphabetical order

def alphabetical(name): print(sorted(name)) alphabetical(["Jon", "Arya", "Tyrion"])

Questions about programming?Chat with your personal AI assistant