<snapdata remixID="9294603"><project name="Lab 4.4 Starter Code" app="Snap! 5.4, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAA8tJREFUeAHt1z9KpAkQxuHqVRH8GygoiiiKgYFgYiKI4uEEYxPPIEZmXsLQMwh6AQOdna8XNvuYZV+hYOZpMJi2q4p++M1M9+THz0d5EOgRePqr566rBP4REKASWgUE2MrvuAA10CogwFZ+xwWogVYBAbbyOy5ADbQKCLCV33EBaqBVQICt/I4LUAOtAgJs5XdcgBpoFRBgK7/jAtRAq4AAW/kdF6AGWgUE2MrvuAA10CogwFZ+xwWogVYBAbbyOy5ADbQKCLCV33EBaqBVQICt/I4LUAOtAgJs5XdcgBpoFRBgK7/jAtRAq4AAW/kdF6AGWgUE2MrvuAA10CogwFZ+xwWogVYBAbbyOy5ADbQKCLCV33EBaqBVQICt/I4LUAOtAgJs5XdcgBpoFRBgK7/jAtRAq4AAW/kdF6AGWgUE2MrvuAA10CogwFZ+xwWogVYBAbbyOy7AkQaen5/r7e2tPj8/R17h6e8QmPz4+fiORb/bjrOzs7q4uKidnZ3a3t6uo6OjOjg4qJmZmd/trXa+nycBjvA/Pj7Wzc1Nra6u1vLycq2trdXwd3V/f7+GOE9OTmpxcXFk2tP/UUCAY1BfX1/18PBQt7e3tb6+Pn3Z8N/x7OxsTSaTen19rff397q+vq7Ly8tpoGO7PD8q8OQz4IjN8K/dx8fHNLbhJcOfh58hvrm5uVpYWKilpaV/gxxZ4+lfCMz+4vd/7K/v7+/r7u6uVlZWan5+vjY2Nqbh7e3t1enpaR0fH08j/GOBvumN+ww4Anl+fl5XV1c1BLe1tVWHh4e1u7vrS8iI1/982mfAMbiXl5fa3NycfgnxzXdMKX5egDGhBYmALyGJntlcwLfg3NCGQECAAZ7RXECAuaENgYAAAzyjuYAAc0MbAgEBBnhGcwEB5oY2BAICDPCM5gICzA1tCAQEGOAZzQUEmBvaEAgIMMAzmgsIMDe0IRAQYIBnNBcQYG5oQyAgwADPaC4gwNzQhkBAgAGe0VxAgLmhDYGAAAM8o7mAAHNDGwIBAQZ4RnMBAeaGNgQCAgzwjOYCAswNbQgEBBjgGc0FBJgb2hAICDDAM5oLCDA3tCEQEGCAZzQXEGBuaEMgIMAAz2guIMDc0IZAQIABntFcQIC5oQ2BgAADPKO5gABzQxsCAQEGeEZzAQHmhjYEAgIM8IzmAgLMDW0IBAQY4BnNBQSYG9oQCAgwwDOaCwgwN7QhEBBggGc0FxBgbmhDICDAAM9oLiDA3NCGQECAAZ7RXECAuaENgYAAAzyjuYAAc0MbAgEBBnhGc4G/AeOxYEZyiJSDAAAAAElFTkSuQmCC</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,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAA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QMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/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="1.6451120792733989" y="-1.1750800566237252" 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="46.33333333333326" y="204.0000000000001"><custom-block s="first e- word"></custom-block></script><script x="128.0566426250001" y="271.5000030000001"><custom-block s="Contains %s"><l>beef</l></custom-block></script><script x="52.500000000000114" y="11.500000000000085"><block s="receiveGo"></block></script><script x="10" y="108.50000000000009"><block s="doAsk"><l>pick a value</l><comment w="90" collapsed="false">Where?</comment></block><block s="doSayFor"><block s="reportJoinWords"><list><l>your value is </l><custom-block s="index of"></custom-block><l> in the list</l></list></block><l>2</l></block></script></scripts></sprite><watcher var="number list" style="normal" x="4.020833333333371" y="4.020833333333336" color="243,118,29" hidden="true"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="index of" type="reporter" category="variables"><comment w="90" collapsed="false">Code is incomplete, all variables needed are present. All blocks may not.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>number list</l><l>value</l></list></block><block s="doSetVar"><l>number list</l><block s="reportNewList"><list><l>5</l><l>4</l><l>3</l><l>2</l><l>1</l></list></block></block><block s="doSetVar"><l>value</l><block s="getLastAnswer"></block></block><block s="doForEach"><l>item</l><block var="number list"/><script><block s="doIf"><block s="reportEquals"><block var="value"/><block var="item"/></block><script><block s="doReport"><block s="reportListItem"><block var="item"/><block var="number list"/></block></block></script></block></script></block><block s="doReport"><l>-1</l></block></script></block-definition><block-definition s="Contains %&apos;word&apos;" type="predicate" category="variables"><comment w="90" collapsed="false">Code is incomplete, all variables needed are present. All blocks may not.  </comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doDeclareVariables"><list><l>words list</l></list></block><block s="doSetVar"><l>words list</l><block s="reportNewList"><list><l>turkey</l><l>chicken</l><l>beef</l><l>shrimp</l><l>lobster</l></list></block></block><block s="doIf"><block s="reportListContainsItem"><block var="words list"/><block var="word"/></block><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script></block-definition><block-definition s="first e- word" type="reporter" category="variables"><comment w="90" collapsed="false">Code is incomplete, all variables needed are present. All blocks may not.</comment><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>words</l><l>index</l></list></block><block s="doSetVar"><l>words</l><block s="reportNewList"><list><l>color</l><l>excited</l><l>love</l><l>eggs</l><l>bacon</l></list></block></block><block s="doUntil"><block s="reportGreaterThan"><block var="index"/><l>5</l></block><script><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="reportListItem"><block var="index"/><block var="words"/></block></block><l>e</l></block><script><block s="doReport"><block s="reportListItem"><block var="index"/><block var="words"/></block></block></script></block><block s="doChangeVar"><l>index</l><l>1</l></block></script></block><block s="doReport"><l>nothing</l></block></script></block-definition></blocks><variables><variable name="number list"><l>0</l></variable></variables></project><media name="Lab 4.4 Starter Code" app="Snap! 5.4, http://snap.berkeley.edu" version="1"></media></snapdata>