NumPy & Matplotlib

Week 4



General Practice Problems

  • Project Euler, Problem 37
  • Project Euler, Problem 59
    • hint: ciphertext = np.loadtxt("", dtype=int, delimiter=',') will load the ciphertext into a NumPy array
    • hint: ord() converts a character to its integer ASCII code, chr() converts an integer ASCII code to a character
    • hint: the ^ operator performs XOR on two integers
  • Project Euler, Problem 92

Also worth looking at: Seaborn

  • Seaborn: statistical data visualization

In-class demo notebook