Class 11 – Friday, September 21

Being random for a loop

You did not expect – The repetition to come – You did not expect


Look both ways


Proof my two dogs are not as smart as they think they are

csi dog

Agenda


Examples to introduce random module

Enter three numbers: 1112 12 1

[4, 1, 4, 0, 6, 1, 5, 2, 5, 1, 1, 2]

4

Enter three numbers: 8 9 6

[3, 5, 6, 2, 3, 0, 1, 2, 3]

1


To do list



random number generator as black box process