About Assignment-2: Searching & Sorting

@shivrajrtandale98 I doesn’t understand Q5 Write a program to sort list of strings (similar to that of dictionary)
Here we need to use dictionary in code or any method is acceptable??

1 Like

@nwagh938 Will get back to you…

@nwagh938 You can solve it using sort function or sorted function.

@shivrajrtandale98 you mean built-in function for sort?

1 Like

@nwagh938… Yes. Use sort or sorted.

@shivrajrtandale98 ok thank you

1 Like