Class 11 – Friday, February 8

In a loop, a loop — Nesting, but not like a bird — Repeating again

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


Look both ways


Agenda


Problems

Wa-Hoo-Wa

Rah-Rah-Rah

Wa-Hoo-Wa!!!Rah-Rah-Rah

Wa-Hoo-Wa !!! Rah-Rah-Rah

t-a-t-t-a-r-r-a-t-t-a-t-

saippuakivikauppias


i: 0 1 2 ... i

Enter number: 5

0: 0

1: 0 1

2: 0 1 2

3: 0 1 2 3

4: 0 1 2 3 4

Enter number: 12

0: 0

1: 0 1

2: 0 1 2

3: 0 1 2 3

4: 0 1 2 3 4

5: 0 1 2 3 4 5

6: 0 1 2 3 4 5 6

7: 0 1 2 3 4 5 6 7

8: 0 1 2 3 4 5 6 7 8

9: 0 1 2 3 4 5 6 7 8 9

10: 0 1 2 3 4 5 6 7 8 9 10

11: 0 1 2 3 4 5 6 7 8 9 10 11


Enter a word: subbookkeeper

length: 13

vowels: 66

Enter a word: supercalifragilisticexpialidocious

length: 34

vowels: 16


Enter string: computer

Enter list of indices: 5 1 7

tor

Enter string: gosh look what the cat is up to now

Enter list of indices: 24 5 17 17 27 23 32 0

sleeping

Enter string: computer

Enter list of indices: 5 1 7

t

o

r

Enter string: gosh look what the cat is up to now

Enter list of indices: 24 5 17 17 27 23 32 0

s

l

e

e

p

i

n

g


To do list


Coney Island Cyclone



Tiger and Turtle Magic Mountain