Notes for Lecture 11 on November 5, 2020
Perimeter of a triangle
Design of a program to compute a triangle’s perimeter
First version: no functions
Second version: distance function
Second version: distance, input functions
Third version: distance function
Also see
peri0.py
,
peri1.py
peri2.py
peri3.py
peri-c.py
Word count
Design of a program to count input words
First version
Matt Bishop
Office: 2209 Watershed Science
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu