19
edits
Changes
→Library Utilities
writeln(new_list);
'''Output: [1, 2, 3, 4, 5]'''
for i in 6..10 do {
writeln(new_list2);
'''Output: [0, 1, 2, 3, 4, 5]'''
'''sort():''' used to sort the list in ascending order.