Short the list in ascending order in python
View All Python Programs Source Code list = [“keyboard”, “mouse”,”joystick”,”laptop”, “camera”] list.sort() print(list) Output [‘camera’, ‘joystick’, ‘keyboard’, ‘laptop’, ‘mouse’] View All Python Programs
Short the list in ascending order in python Read More »