Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Python
(view source)
Revision as of 12:15, 6 April 2015
106 bytes added
,
12:15, 6 April 2015
→List
Line 99:
Line 99:
* Methods: append, count, extend, index, insert, pop, remove, reverse, sort
* Methods: append, count, extend, index, insert, pop, remove, reverse, sort
* Functions len() - find length, max() - find highest value, min() - find lowest value, sum() - add all values average can be found with sum()/len()
* Functions len() - find length, max() - find highest value, min() - find lowest value, sum() - add all values average can be found with sum()/len()
+
+
'''Del'''
+
Removes an item from a list.<br />
+
example: a = [1, 2, 3, 4, 5] del a[0] returns [2, 3, 4, 5]
==== Tuple ====
==== Tuple ====
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version