Posts in 2021

  • 09-15

    Wednesday, September 15, 2021 in Daily

    Quiz Homework: USACO 2019 January Bronze 2: sleepy sorting

    Read more

  • 09-14

    Friday, September 10, 2021 in Daily

    Ongoing topics Print vs return Mutation functions do not return values. Also: Why does append return None? Examples: append, extend. The Python boss post on the topic is short and informative. Copy vs in-place: sorted(data) vs data.sort(). Upcoming …

    Read more

  • 09-10

    Friday, September 10, 2021 in Daily

    A list of the first 20 Fibonacci numbers. So $[1,1,2,3,5,\ldots]$. A list with the partial sums of the first 20 perfect fourth powers. So $[1^4, 1^4+2^4, 1^4+2^4+3^4, …]$. Write a function some_words that takes in a list of strings someWords …

    Read more

  • 09-08

    Wednesday, September 08, 2021 in Daily

    A list of the first 1000 integers. A list of the first 1000 perfect squares. The sum of the first 100 perfect cubes. A list of all of the perfect cubes between 1000 and 20000. The product of the numbers in the previous list, computed using a for …

    Read more

  • AI Resources

    Monday, August 30, 2021 in AI

    Python Python on ReplIt.com. Conda for the home install. Add Mamba for a faster package manager. Books The official python tutorial. How to Think Like a Computer Scientist. An online version with little interpreter boxes to run your code is at …

    Read more