<snapdata remixID="9124987"><project name="Lab 4.4" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAA+ZJREFUeAHt2LtKow0QgOGJJywURRRRQcHOA2LhAbwFvQNrsbL0Au29AFs7sRI7FdndL8XCD5uFfxgYWJ5UEjIz8PiSGEc/fj3Cg0CTwFTTXWcJjAUEKIRWAQG28jsuQA20Cgiwld9xAWqgVUCArfyOC1ADrQICbOV3XIAaaBUQYCu/4wLUQKuAAFv5HRegBloFBNjK77gANdAqIMBWfscFqIFWAQG28jsuQA20Cgiwld9xAWqgVUCArfyOC1ADrQICbOV3XIAaaBUQYCu/4wLUQKuAAFv5HRegBloFBNjK77gANdAqIMBWfscFqIFWAQG28jsuQA20Cgiwld9xAWqgVUCArfyOC1ADrQICbOV3XIAaaBUQYCu/4wLUQKuAAFv5HRegBloFBNjK77gANdAqIMBWfscFqIFWAQG28jsuQA20Cgiwld9xAWqgVUCArfyOzyD4s8D9/X0cHR3F/v5+bGxsxOrqaszNzf35xZ5NC4x+/Hqkp//hwaurq3h9fY3p6elYX1+P7e3tODk5iYuLi9jd3Y2pKR8eFb9+AU5QvLu7i8fHx/E73/f3d3x+fsbX11cMP6+trcX5+Xmcnp7Gzs7OONCFhYUYjUYTtnl6koAAJ8g8PDzE9fV1HB8fx+zs7O9XDR8Yb29v8fz8HO/v73F5eRm3t7dxdnb2n9f9HvDDXwUEOIHn5uYmnp6eYnl5OT4+PsbvgMNLZ2ZmYmtra/xRPEQ3/H24tLQU8/Pz3gEnWP7taV9CJui8vLyM3+mG+IYvIsMXksPDwzg4OIjNzU2xTXD7v08LcILY8Pfd8NG6t7cXKysrsbi4OH73m/ByTycFfAQn4YzVCPhfQo2jLUkBASbhjNUICLDG0ZakgACTcMZqBARY42hLUkCASThjNQICrHG0JSkgwCScsRoBAdY42pIUEGASzliNgABrHG1JCggwCWesRkCANY62JAUEmIQzViMgwBpHW5ICAkzCGasREGCNoy1JAQEm4YzVCAiwxtGWpIAAk3DGagQEWONoS1JAgEk4YzUCAqxxtCUpIMAknLEaAQHWONqSFBBgEs5YjYAAaxxtSQoIMAlnrEZAgDWOtiQFBJiEM1YjIMAaR1uSAgJMwhmrERBgjaMtSQEBJuGM1QgIsMbRlqSAAJNwxmoEBFjjaEtSQIBJOGM1AgKscbQlKSDAJJyxGgEB1jjakhQQYBLOWI2AAGscbUkKCDAJZ6xGQIA1jrYkBQSYhDNWIyDAGkdbkgICTMIZqxEQYI2jLUkBASbhjNUICLDG0ZakgACTcMZqBARY42hLUkCASThjNQICrHG0JSkgwCScsRqBnzveX2IIM6/jAAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwY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MCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</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.4941176470588289" y="-0.35294117647055145" 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="65" y="89"><custom-block s="sum %s"><block s="reportNewList"><list><l></l><l></l><l></l></list></block></custom-block></script><script x="56" y="150"><custom-block s="average %s"><block s="reportNewList"><list><l></l><l></l><l></l></list></block></custom-block></script><script x="51" y="203"><custom-block s="includes negative %s"><block s="reportNewList"><list><l></l><l></l><l></l></list></block></custom-block></script><script x="39" y="297"><custom-block s="increasing? %s"><block s="reportNewList"><list><l></l><l></l><l></l></list></block></custom-block></script><script x="47" y="346"><custom-block s="maximum %s"><block s="reportNewList"><list><l></l><l></l><l></l></list></block></custom-block></script><script x="35" y="420"><custom-block s="make all positive %s"><block s="reportNewList"><list><l></l></list></block></custom-block></script><script x="45" y="496"><custom-block s="only evens %s"><block s="reportNewList"><list><l></l></list></block></custom-block></script></scripts></sprite><watcher var="index" style="normal" x="2.5" y="2.499999999999993" color="243,118,29" hidden="true"/><watcher var="result" style="normal" x="2.5" y="7.750000499999999" color="243,118,29" hidden="true"/><watcher var="counter" style="normal" x="10" y="10" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="sum %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>index</l><l>0</l></block><block s="doSetVar"><l>result</l><l>0</l></block><block s="doRepeat"><block s="reportListLength"><block var="list"/></block><script><block s="doSetVar"><l>result</l><block s="reportSum"><block var="result"/><block s="reportListItem"><block var="index"/><block var="list"/></block></block></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block><block s="doReport"><block var="result"/></block></script></block-definition><block-definition s="average %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>result</l><block s="reportQuotient"><custom-block s="sum %s"><block var="list"/></custom-block><block s="reportListLength"><block var="list"/></block></block></block><block s="doReport"><block var="result"/></block></script></block-definition><block-definition s="includes negative %&apos;list&apos;" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doForEach"><l>item</l><block var="list"/><script><block s="doIfElse"><block s="reportLessThan"><block var="item"/><l>0</l></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block></script></block-definition><block-definition s="increasing? %&apos;list&apos;" type="predicate" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>index</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="index"/><block s="reportListLength"><block var="list"/></block></block><script><block s="doIfElse"><block s="reportLessThan"><block s="reportListItem"><block var="index"/><block var="list"/></block><block s="reportListItem"><block s="reportSum"><block var="index"/><l>1</l></block><block var="list"/></block></block><script><block s="doChangeVar"><l>index</l><l>1</l></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block-definition><block-definition s="maximum %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>index</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="index"/><block s="reportListLength"><block var="list"/></block></block><script><block s="doIfElse"><block s="reportLessThan"><block s="reportListItem"><block var="index"/><block var="list"/></block><block s="reportListItem"><block s="reportSum"><block var="index"/><l>1</l></block><block var="list"/></block></block><script><block s="doChangeVar"><l>index</l><l>1</l></block></script><script><block s="doReport"><block s="reportListItem"><block var="index"/><block var="list"/></block></block></script></block></script></block><block s="doReport"><block s="reportListItem"><block var="index"/><block var="list"/></block></block></script></block-definition><block-definition s="make all positive %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>counter</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="counter"/><block s="reportSum"><block s="reportListLength"><block var="list"/></block><l>1</l></block></block><script><block s="doIf"><block s="reportLessThan"><block s="reportListItem"><block var="counter"/><block var="list"/></block><l>0</l></block><script><block s="doReplaceInList"><block var="counter"/><block var="list"/><block s="reportProduct"><block s="reportListItem"><block var="counter"/><block var="list"/></block><l>-1</l></block></block></script></block><block s="doChangeVar"><l>counter</l><l>1</l></block></script></block><block s="doReport"><block var="list"/></block></script></block-definition><block-definition s="only evens %&apos;list&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doSetVar"><l>counter</l><l>1</l></block><block s="doUntil"><block s="reportEquals"><block var="counter"/><block s="reportSum"><block s="reportListLength"><block var="list"/></block><l>1</l></block></block><script><block s="doIf"><block s="reportNot"><block s="reportEquals"><block s="reportModulus"><block s="reportListItem"><block var="counter"/><block var="list"/></block><l>2</l></block><l>0</l></block></block><script><block s="doDeleteFromList"><block var="counter"/><block var="list"/></block></script></block><block s="doChangeVar"><l>counter</l><l>1</l></block></script></block><block s="doReport"><block var="list"/></block></script></block-definition></blocks><variables><variable name="index"><l>0</l></variable><variable name="result"><l>0</l></variable><variable name="counter"><l>0</l></variable></variables></project><media name="Lab 4.4" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>