Previous Lecture lect02 Next Lecture

lect02, Thu 01/10

Functions

Functions in Python. Here are some very simple functions:

def plusOne(x):
  return x+1
  
def squared(x):
  return x * x