Intro to Python
Built in data types
Lists
x in s
x not in s
s + t
s * n, n * s #n shallow copies of s concatenated
s[i] #ith item of s, origin 0
s[i:j] #slice of s from i to j
s[i:j:k] #slice of s from i to j with step k
len(s) #length of s
min(s) #smallest item of s
max(s) #largest item of s
s.index(i) #index of the first occurence of i in s
s.count(i) #total number of occurences of i in s
Scientific computing modules