ECS 10 Lecture 13: ECS10 - Lecture#13

38 views1 pages

Document Summary

To make an array make an empty list, and make two for loops to place a row within the row. The debugger allows you to see how things are made. Recall that the . append( ) ending will add the given thing to the end of the list. To print you should use another for loop to continually print your list. it works in two for loops to start from the row to the column. Any word can be used for the for loop as long as they follow the variable creation rules. This variable is assigned to the values in the iterable as it iterates through the for loop. You will go into an else that is at the end of the loop if you don"t break. this will be handy for some cases. The return will stop the function even if it has code following the return.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents