 License Public Domain
 Lines 19
##### Keywords list (2) math (4)
##### Related Test if an integer is a triangle number Logit function Calculate PI to 17 Million Digits Recursively Reduce a Tuple, List, or Dict Nodebox Animation Tutorial, Fluid Curve Movement
##### Permissions Owner: Jonathan Wong Viewable by Everyone Editable by Jonathan Wong

# Simple Python Functions (will split into seperate types later) 0

 In Brief Simple python list and math functions
 Language Python
# 's
` 1####Lists functions #### 2x = [] #initialize a new list 3 4x.append(object) # append object to the end of list 5 6x.insert(object, position) #inserts an object to a list AFTER the position given 7 8x.remove(position) #removes an object in given position 91011#### MATH #####1213#getting fractions1415 answer = numerator / float( denominator )161718#raise a number to a power1920pow(number,exponent)2122Alternately2324number ** exponent252627#square root a number28import math2930math.sqrt(number)3132# exponential3334math.e #returns 2.71828182845904513536#natural log37math.log(input) #this computes the natural log for a number`

Simple python list and math functions