4.1 The for Loop
Lab 4.1.1
Use the for loop to find the average age of the IL Supreme Court Justices given the list of ages: x=[77, 72,73,62,77,55].
Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.