<snapdata remixID="11266275"><project name="4.4lab" app="Snap! 7, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAxNJREFUeAHt10FKYwEURNGfpvcRyI7MLDtyJ06duBz34czWBkdNaCgKCsL5E0Xz3sPDhcTT59dzeAiMBH6N7jpL4K+AAIUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAAp/yOC1ADUwEBTvkdF6AGpgICnPI7LkANTAUEOOV3XIAamAoIcMrvuAA1MBUQ4JTfcQFqYCogwCm/4wLUwFRAgFN+xwWogamAAKf8jgtQA1MBAU75HRegBqYCApzyOy5ADUwFBDjld1yAGpgKCHDK77gANTAVEOCU33EBamAqIMApv+MC1MBUQIBTfscFqIGpgACn/I4LUANTAQFO+R0XoAamAgKc8jsuQA1MBQQ45XdcgBqYCghwyu+4ADUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAA7/Cfz+fj5eXlzm/9uCVw+vx6Wssebc/1ej1+eN7f34/X19fjcrk82p85/XsE+B/+p6enf15xOp2Oj4+P4+3t7fj+3pMLeAvO7UwWBH4Xdjzsiu+34J/HW/CPRPerAO94fv8T8vz8fNxutzuv8OOGgM+ADUU7YgGfAWM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRCwgwpjPYEBBgQ9GOWECAMZ3BhoAAG4p2xAICjOkMNgQE2FC0IxYQYExnsCEgwIaiHbGAAGM6gw0BATYU7YgFBBjTGWwICLChaEcsIMCYzmBDQIANRTtiAQHGdAYbAgJsKNoRC/wBwkorNs3SKPgAAAAASUVORK5CYII=</thumbnail><scenes select="1"><scene name="4.4lab"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="sum %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>sum</l><l>0</l></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doSetVar"><l>sum</l><block s="reportSum"><block var="sum"/><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block></block></script></block><block s="doSayFor"><block var="sum"/><l>2</l></block></script></block-definition><block-definition s="average %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>sum</l><l>0</l></block><block s="doSetVar"><l>average</l><l>0</l></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doSetVar"><l>sum</l><block s="reportSum"><block var="sum"/><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block></block></script></block><block s="doSetVar"><l>average</l><block s="reportQuotient"><block var="sum"/><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block></block></block><block s="doSayFor"><block var="average"/><l>2</l></block></script><scripts><script x="111.3251953125" y="304.6666666666666"><block var="average"/></script><script x="33.12109375" y="291.6666666666667"><block var="sum"/></script><script x="191.12109375" y="271.6666666666667"><block var="numbers list"/></script></scripts></block-definition><block-definition s="includes negative %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doIf"><block s="reportGreaterThan"><l>0</l><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block><script><block s="doSayFor"><l>Includes negitive</l><l>2</l></block></script></block></script></block></script></block-definition><block-definition s="make all positive %&apos;list&apos;" type="command" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>positives</l><l>index</l></list></block></script></block-definition><block-definition s="increasing %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportListItem"><block s="reportDifference"><block var="i"/><l>1</l></block><block var="numbers list"/></block><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block><script><block s="doSayFor"><l>Not increasing</l><l>2</l></block></script></block></script></block></script><scripts><script x="164.8369140625" y="213.8333333333333"><block var="i"/></script></scripts></block-definition><block-definition s="Maximum %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>current max</l><l>0</l></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doIf"><block s="reportGreaterThan"><block s="reportListItem"><block var="i"/><block var="numbers list"/></block><block var="current max"/></block><script><block s="doSetVar"><l>current max</l><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block></script></block></script></block><block s="doSayFor"><block var="current max"/><l>2</l></block></script></block-definition><block-definition s="Make all positive %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doIf"><block s="reportGreaterThan"><l>0</l><block s="reportListItem"><block var="i"/><block var="numbers list"/></block></block><script><block s="doReplaceInList"><block var="i"/><block var="numbers list"/><block s="reportProduct"><block s="reportListItem"><block var="i"/><block var="numbers list"/></block><l>-1</l></block></block></script></block></script></block><block s="doSayFor"><block var="numbers list"/><l>2</l></block></script></block-definition><block-definition s="only even %&apos;numbers list&apos;" type="command" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>evens</l><block s="reportNewList"><list><l></l></list></block></block><block s="doFor"><l>i</l><l>1</l><block s="reportListAttribute"><l><option>length</option></l><block var="numbers list"/></block><script><block s="doIf"><block s="reportEquals"><block s="reportModulus"><block s="reportListItem"><block var="i"/><block var="numbers list"/></block><l>2</l></block><l>0</l></block><script><block s="doAddToList"><block s="reportListItem"><block var="i"/><block var="numbers list"/></block><block var="evens"/></block></script></block></script></block><block s="doSayFor"><block var="evens"/><l>2</l></block></script></block-definition></blocks><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" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="237"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGD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BgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="238"></list></costumes><sounds><list struct="atomic" id="239"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><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="244"><costumes><list struct="atomic" id="245"></list></costumes><sounds><list struct="atomic" id="246"></list></sounds><blocks></blocks><variables></variables><scripts><script x="87.78643329326927" y="98.02564102564101"><block s="receiveKey"><l><option>2</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>10</l><l>5</l><l>12</l><l>1</l><l>-5</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="average %s"><block var="numbers"/></custom-block></script><script x="96.32489483173077" y="7.692307692307692"><block s="receiveKey"><l><option>1</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>10</l><l>5</l><l>12</l><l>1</l><l>-5</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="sum %s"><block var="numbers"/></custom-block></script><script x="88.46153846153845" y="192.4102564102566"><block s="receiveKey"><l><option>3</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>3</l><l>2</l><l>3</l><l>4</l><l>5</l><l>6</l></list></block></block><custom-block s="increasing %s"><block var="numbers"/></custom-block></script><script x="82.3076923076923" y="290.9615384615387"><block s="receiveKey"><l><option>4</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>10</l><l>5</l><l>12</l><l>1</l><l>-5</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="Maximum %s"><block var="numbers"/></custom-block></script><script x="75.69230769230768" y="393.6410256410256"><block s="receiveKey"><l><option>5</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>-1</l><l>5</l><l>12</l><l>1</l><l>-500</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="Make all positive %s"><block var="numbers"/></custom-block></script><script x="73.07692307692308" y="500.6410256410256"><block s="receiveKey"><l><option>6</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>10</l><l>5</l><l>12</l><l>1</l><l>-5</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="includes negative %s"><block var="numbers"/></custom-block></script><script x="72.53846153846155" y="607.7179487179487"><block s="receiveKey"><l><option>7</option></l><list></list></block><block s="doSetVar"><l>numbers</l><block s="reportNewList"><list><l>-1</l><l>5</l><l>12</l><l>1</l><l>-500</l><l>7</l><l>69</l><l>23</l><l>28</l><l>16</l></list></block></block><custom-block s="only even %s"><block var="numbers"/></custom-block></script></scripts></sprite><watcher var="sum" style="normal" x="15" y="13.000001999999995" color="243,118,29" hidden="true"/><watcher var="numbers" style="normal" x="15" y="33" color="243,118,29" hidden="true"/><watcher var="average" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="positives" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="index" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="current max" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="evens" style="normal" x="7" y="151.00000799999998" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="numbers"><list struct="atomic" id="408">-1,5,12,1,-500,7,69,23,28,16</list></variable><variable name="sum"><l>166</l></variable><variable name="average"><l>16.6</l></variable><variable name="positives"><l>0</l></variable><variable name="index"><l>0</l></variable><variable name="current max"><l>69</l></variable><variable name="evens"><list struct="atomic" id="409">,12,-500,28,16</list></variable></variables></scene></scenes></project><media name="4.4lab" app="Snap! 7, https://snap.berkeley.edu" version="2"></media></snapdata>