Intro
Programming
with
Python

Spring 2018
course
site

April 30

Our penultimate class.

Project presentations on Wednesday.

I answered a few questions: Kat asked about getters and setters in classes, and Barbora asked about the algorithm to count "right in right place" and "right in wrong place" in mastermind, i.e. getting (1,0) for guess "CCCC" with answer "ABCD".

I discussed "computer science" in the large - what it is, and what the curriculum at Marlboro looks like.

And we did the longest collatz sequence exercise on ProjectEuler.net in class : collatz.py

https://cs.marlboro.college /cours /spring2018 /python /notes /apr30
last modified Sun December 22 2024 11:05 am