Run
strings = {"banana", "fig", "apple", "cherry"} print(f"Given set : {strings}") sorted_strings = sorted(strings) print(f"Sorted items : {sorted_strings}")
Output