+ 1

Python Few Functions & Methods

There are a few more useful functions and methods for lists. max(list): Returns the list item with the maximum value min(list): Returns the list item with minimum value list.count(obj): Returns a count of how many times an item occurs in a list list.remove(obj): Removes an object from a list list.reverse(): Reverses objects in a list

18th Sep 2017, 11:59 AM
Abhishek Sarkar
Abhishek Sarkar - avatar
1 Réponse
+ 5
Thank you😄
24th Sep 2017, 2:15 PM
Koketso Dithipe
Koketso Dithipe - avatar