Class 14 — Friday February 18

Tabling

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


Zooming


Look both ways


Shirt of the day

JC shirt of the day



Agenda


Download now


To do list


What is data?


What is information


What is a dataset


Web pages


Program word_of_the_day.py

???



Program going_rowing.py

table: [['A', 'B', 'C'], ['D', 'E', 'F'], ['G', 'H', 'I'], ['J', 'K', 'L', 'M']]

the table has 4 rows

row ['A', 'B', 'C'] has 3 columns

row ['D', 'E', 'F'] has 3 columns

row ['G', 'H', 'I'] has 3 columns

row ['J', 'K', 'L', 'M'] has 4 columns

row 0 : ['A', 'B', 'C']

row 1 : ['D', 'E', 'F']

row 2 : ['G', 'H', 'I']

row 3 : ['J', 'K', 'L', 'M']



Program rc_printing.py

Number of rows and columns: 3 4

0 1 2 3

1 2 3 4

2 3 4 5

Number of rows and columns: 4 5

0 1 2 3 4

1 2 3 4 5

2 3 4 5 6

3 4 5 6 7



author: Dmarcus100; periodic table of elements Wikimedia Commons

 


  🦆 © 2022 Jim Cohoon   Resources from previous semesters are available.