oct 11
after class
I uploaded the typing I did in class
to an attachment - see below.
notes
- python has an "in" operator for testing membership
vowels = ['a', 'b', ... ]
if word[i] in vowels:
...
shorthand for
if (word[i] == vowels[0]) or (word[i]==vowels[1]) or ...
- homework : goldbach conjecture; pig latin
- group exercise in class : write a program to find perfect numbers