Class 27 — Monday March 28

Reaching an understanding with functions

Functional living — Problem-solving strategy — Embrace this future


Look both ways


Agenda


Last chance


Example de jeur — module primal

  • Parameters x and y are integers. The function returns whether y is a factor of x.
  • Parameters x and y are integers. The function returns whether x and y are relatively prime; i.e., whether y is not a factor of x and vice-versa.
  • Parameter x is an integer. The function returns whether x is prime; i.e., its only factors are 1 and itself

Questions about homework take_it_away.py


To do


crossword stats