<snapdata remixID="9201987"><project name="4.4 Number Cruncher_Jean Gonzalez" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAG2SURBVHhe7dcxakJBFEDRMS5FcD8WVu7GvQiCtdsR3IYIxoRfSMAETMJtzmn+m6kvf2Zmt7sBkbfpCwkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhIgKQGSEiApAZISICkBkhLgE4vFYux2u2nFf5nd7qaZL1ar1TSNcTqdxuFwGMvlctrhLwjwB48RPrpcLuN4PE4rXuUIfsF8Pp8mfssf8Bvr9Xpcr9fP+Xw+j/1+7wj+YwJ84uMRst1ux2azmXb4DwIk5Q5ISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCkBEhKgKQESEqApARISoCExngHa3czNKhQh4YAAAAASUVORK5CYII=</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK1SURBVHhe7cExAQAAAMKg9U9tDB8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIsajf4AAXBXLv8AAAAASUVORK5CYII=</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="0" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="30" y="30"><block s="doDeclareVariables"><list><l>index</l></list><comment w="336.000001" collapsed="false">So far every time we&apos;ve traversed a list we&apos;ve used this basic structure.</comment></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doRepeat"><block s="reportListLength"><l/></block><script><custom-block s="Do an operation on each item of the list %s (example--delete)"><block s="reportListItem"><block var="index"/><l/></block><comment w="80" collapsed="false">The operation performed on each item of the list has changed (represented by the green block)</comment></custom-block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block></script><script x="54" y="289"><block s="doSetVar"><l></l><custom-block s="sum %l"><l/></custom-block></block></script><script x="196.18999967303466" y="355.000003"><block s="reportNewList"><list><l></l></list></block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Do an operation on each item of the list %&apos;input&apos; (example--delete)" type="command" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="sum %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>index</l><l>sum</l></list><comment w="336.000001" collapsed="false">So far every time we&apos;ve traversed a list we&apos;ve used this basic structure.</comment></block><block s="doSetVar"><l>index</l><l>1</l></block><block s="doSetVar"><l>sum</l><l>0</l></block><block s="doRepeat"><block s="reportListLength"><l/></block><script><block s="doChangeVar"><l>sum</l><block s="reportListItem"><block var="index"/><l/></block></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block><block s="doReport"><l></l></block></script></block-definition><block-definition s="average %&apos;list 2.0&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><l></l></block></script></block-definition></blocks><variables></variables></project><media name="4.4 Number Cruncher_Jean Gonzalez" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>