strs = ["MLH", "INIT", "Day 2", "Py Sort"] print(strs) strs.sort() print(strs)

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\SUVRA> & python c:/Users/SUVRA/Downloads/sort.py ['MLH', 'INIT', 'Day 2', 'Py Sort'] ['Day 2', 'INIT', 'MLH', 'Py Sort'] PS C:\Users\SUVRA> python Python 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Built With

Share this project:

Updates

Submission history