<snapdata remixID="9758528"><project name="3.3 Lets Check My Calendar" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAIg0lEQVR4Xu2de0jWVxjHH1syS9SZpplBEDEdjTGVLLuMCkKJFqHJNhMLalMpL4NwBF5m6YLwjzQdUsECrdVi6zYhtnTNWxcySSjsNtiaTHSpoZG5zHGO6NQ39fc+O74ej98fRFbnOe85n+fD7/39nvf5vTn19fX1EQ4QmCQCThBwksjjZSUBCAgRJpXAawWsr6+nK1eu9Bvq5ERD36Ud/efly5dTWFjYpELCi08cARsBL126RIsXL56wV1y4YD7lhM+nea5vjPkafj7e9G56mRzT3NxMq1atmrA1YeLJIzBMwOvXr5Obm5s84w2c6VT//nPhF7TTvcHSjtt311BnZ6dcz82bN2nbtm2W4jBo6hAYJmBGRgZFRUXJ1YvEFxYW0q5duyg6Oprc3d3p0KFDlJiYSBcuXKDy8nLKzMyktLQ02rRpE1VUVFB6eroU98CBA/JnMWbLli2UmppKZ8+epcOHD1PJl59RdkDzIKGZQZHU19VCvQ+qbaj9nVhJHR0d8u8bGhooLi5u6pDFSi0RGCagEGzFihXyjHP69GlasmQJnTt3jrq7uyk2Npbu3btHWVlZ1NjYSJcvX6Y1a9ZQXV0dtbW10dy5c2nWrFnk5+cn/z0wMFCetZKTk+nIkSPyLbSnp4e++yqJsgP/E3CG3zvkHBZHL37Ya7Pgv3aWU3t7u1yPEHzvXtsxlnaJQdoSGCZgS0uLlGzgmIgbjouFmZSx8KElIOIM+Pjx48Gxq1evthSHQVOHgM1NyNGjR2nRokUTdg3o6elJwUFB4xLq6Ginulv1ch3i7JeTkzNuDAZMPQJal2GWLVsmLwlwmEvAoWUYlGDMFYm7M4eWYX4qSKOdHtZKMB1JtfT06VP5Fnzjxg3avn07d4+I05iA5TKMKE5nZ2eTt7e3pRKMuEsW5ZuBEkxBQQGVZsdbLsG0JvwqBUQJ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PYCIaDZ+dV+dxBQ+xSZvUAIaHZ+td8dBNQ+RWYvEAKanV/tdwcBtU+R2QuEgGbnV/vdQUDtU2T2AiGg2fnVfncQUPsUmb1ACGh2frXfHQTUPkVmLxACmp1f7XcHAbVPkdkLhIBm51f73UFA7VNk9gIhoNn51X53ENBCioqLi+natWt0/PhxC6MxxB4CENAirZUrV5KPj48cLb75KyoqSn5dHY7/RwAC2sEvPDycZs+ebRNx//59KikpoWAL/w2ZHS83LYZCQDvSDAHtgGVxKAS0CGrkW3BkZCQlJPR/qysOPgEIaIEdbkIsQGIOgYBMcAhTQwACquGIWZgEICATHMLUEICAajhiFiYBCMgEhzA1BCCgGo6YhUkAAjLBIUwNAQiohiNmYRKAgExwCFNDAAKq4YhZmAQgIBMcwtQQgIBqOGIWJgEIyASHMDUEIKAajpiFSQACMsEhTA0BCKiGI2ZhEoCATHAIU0MAAqrhiFmYBCAgExzC1BCAgGo4YhYmAQjIBIcwNQQgoBqOmIVJAAIywSFMDQEIqIYjZmESgIBMcAhTQwACquGIWZgEICATHMLUEICAajhiFiYBCMgEhzA1BCCgGo6YhUkAAjLBIUwNAQiohiNmYRKAgExwCFNDAAKq4YhZmAQgIBMcwtQQgIBqOGIWJgEIyASHMDUEIKAajpiFSQACMsEhTA0BCKiGI2ZhEoCATHAIU0MAAqrhiFmYBCAgExzC1BCAgGo4YhYmAQjIBIcwNQQgoBqOmIVJAAIywSFMDQEIqIYjZmESgIBMcAhTQwACquGIWZgEICATHMLUEICAajhiFiYBCMgEhzA1BCCgGo6YhUkAAjLBIUwNAQiohiNmYRKAgExwCFND4F8T6FvzSc6rnwAAAABJRU5ErkJggg==</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="true" hyperops="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggA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bpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</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="10" 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="72.80000000000001"><block s="receiveGo"></block><block s="doAsk"><l>pick up between 1 and 12</l></block><block s="doSetVar"><l>month number</l><block s="getLastAnswer"></block></block><custom-block s="month name"></custom-block><block s="doAsk"><l>Pick up between 1 and 7</l></block><block s="doSetVar"><l>month number</l><block s="getLastAnswer"></block></block><custom-block s="day name"></custom-block><block s="doAsk"><l>pick a year</l></block><block s="doSetVar"><l>year number</l><block s="getLastAnswer"></block></block><custom-block s="is a leap year"></custom-block></script><script x="301" y="60"><block s="doAsk"><l>pick a date</l></block><block s="doSetVar"><l>date number</l><block s="getLastAnswer"></block></block><custom-block s="is a valid date"></custom-block></script><script x="129" y="335"><block var="month number"/></script></scripts></sprite><watcher var="date number" style="normal" x="10" y="10" color="243,118,29"/><watcher var="day number" style="normal" x="10" y="31.000001999999995" color="243,118,29"/><watcher var="month number" style="normal" x="10" y="52.00000399999999" color="243,118,29"/><watcher var="year number" style="normal" x="10" y="73.00000599999998" color="243,118,29"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="month name from month number %&apos;month number&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block var="month number"/><l>1</l></block><script><block s="doReport"><l>It&apos;s January!</l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script><comment w="205.999999" collapsed="false">write similar code for months 2 through 12!</comment></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><l/><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportOr"><block s="reportLessThan"><block var="number"/><l>1</l></block><block s="reportGreaterThan"><block var="number"/><l>12</l></block></block><script><block s="doReport"><l></l><comment w="205.999999" collapsed="false">Make sure to have it tell your user if they&apos;ve selected a number that won&apos;t represent a month. Let&apos;s keep it PG-13, please.</comment></block></script></block></script></block-definition><block-definition s="days in the month of %&apos;month name&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><block s="reportJoinWords"><list><block var="month name"/><l> has </l><l></l><l>days </l><l>in </l><l>it.</l></list></block></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l><comment w="497" collapsed="false">Copy the &quot;join&quot; block from the above month for the months 2 - 12. Make sure to fill in the appropriate month name and number of days!</comment></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month name"/><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doReport"><l></l><comment w="438" collapsed="false">What should we tell the user if they input something that isn&apos;t a month? (Keep it PG-13!)</comment></block></script><scripts><comment x="814" y="14.20000000000006" w="90" collapsed="false">This block takes a month name as an argument and says how many days are in that month. &#xD;&#xD;(Assume a non-leap year.)&#xD;&#xD;Use yoiur previous blocks as templates!</comment></scripts></block-definition><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="numbers from %&apos;from&apos; to %&apos;to&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%n">1</input><input type="%n">10</input></inputs><script><block s="doIf"><block s="reportGreaterThan"><block var="from"/><block var="to"/></block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block var="from"/><custom-block s="numbers from %n to %n"><block s="reportSum"><block var="from"/><l>1</l></block><block var="to"/></custom-block></block></block></script></block-definition><block-definition s="map %&apos;func&apos; over %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block var="data"/></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="func"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><custom-block s="map %repRing over %l"><block var="func"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script></block-definition><block-definition s="day name from day number %&apos;day number&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doIf"><block s="reportEquals"><block var="day number"/><l>1</l></block><script><block s="doReport"><l>Sunday</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="day number"/><l>2</l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><l></l><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><l></l><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><l></l><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><l></l><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportEquals"><l></l><l></l></block><script><block s="doReport"><l></l></block></script></block><block s="doIf"><block s="reportOr"><block s="reportLessThan"><block var="number"/><l></l></block><block s="reportGreaterThan"><block var="number"/><l></l></block><comment w="261" collapsed="true">What numbers are outside the range for a week?</comment></block><script><block s="doReport"><l></l><comment w="433" collapsed="true">If the user gives an answer outside of our expected range, what should we tell them?</comment></block></script></block></script><scripts><comment x="485.9999999999999" y="16.00000000000003" w="114" collapsed="false">This block takes a number between 1 and 7 as an argument and says the name of the corresponding day. (For our purposes, the week begins on Sunday.)&#xD;&#xD;Use the &quot;month name from month number&quot; block as a template to finish this one!</comment></scripts></block-definition><block-definition s="is the year %&apos;yearnumber&apos; a leap year?" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="is the %&apos;date&apos; of %&apos;monthName&apos; a valid date?" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%txt"></input></inputs><script><block s="doIfElse"><block s="reportOr"><block s="reportLessThan"><block var="date"/><l>1</l></block><block s="reportGreaterThan"><block var="date"/><l>31</l></block></block><script><block s="doReport"><block s="reportJoinWords"><list><l>The </l><block var="date"/><l> is </l><l>not </l><l>a </l><l>valid </l><l>date </l><l>in </l><block var="monthName"/><l>...</l><l> Maybe</l><l> Smarch?</l></list><comment w="325.99999999999994" collapsed="false">We want to tell users if they&apos;ve given a date outside of the range...</comment></block></block></script><script><block s="doIf"><block s="reportEquals"><block var="monthName"/><l>January</l></block><script><block s="doIf"><block s="reportGreaterThan"><block var="date"/><l>31</l></block><script><block s="doReport"><l></l></block></script></block></script></block><block s="doIf"><block s="reportEquals"><block var="monthName"/><l>February</l></block><script><block s="doIf"><block s="reportGreaterThan"><block var="date"/><l>28</l></block><script><block s="doReport"><l></l></block></script></block></script><comment w="90" collapsed="false">We&apos;ll want to repeat this for the rest of the months of the year.</comment></block></script></block><block s="doReport"><block s="reportJoinWords"><list><l>Yeah, </l><l>I </l><l>remember </l><l>the </l><block var="date"/><l> night </l><l>of </l><block var="monthName"/><l>, </l><l>EWF...</l></list><comment w="430" collapsed="true">We want to tell users if they&apos;ve chosen correctly for their date and month.</comment></block></block></script><scripts><script x="12.999999000000022" y="1426"><block s="doReport"><block s="reportJoinWords"><list><l>I </l><l>haven&apos;t </l><l>heard </l><l>of </l><l>that </l><l>month...</l></list></block></block></script><script x="12.999999000000022" y="1382"><block s="doReport"><block s="reportJoinWords"><list><l>The </l><l>month </l><l>of </l><block var="monthName"/><l> has </l><l>31 </l><l>days.</l></list></block></block></script><script x="17.999999000000024" y="878"><block s="doIf"><block s="reportEquals"><block var="monthName"/><l>February</l></block><script><block s="doReport"><block s="reportJoinWords"><list><l>The </l><l>month </l><l>of </l><block var="monthName"/><l> has </l><l>28 </l><l>days.</l></list></block></block></script></block></script><script x="26.999998999999995" y="966"><block s="doReport"><block s="reportJoinWords"><list><l>The </l><l>month </l><l>of </l><block var="monthName"/><l> has </l><l>30 </l><l>days.</l></list></block></block></script><comment x="989.9999990000001" y="10.199999999999987" w="90" collapsed="false">This block takes a month name and a date as arguments and says whether or not that date exists in that month. &#xD;&#xD;For example, the 31st is a valid date in January, but not in June. &#xD;&#xD;The 5th is a valid date in every month, and the 40th is not a valid date in any month.&#xD;</comment></scripts></block-definition><block-definition s="day %&apos;day&apos; in year %&apos;year&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs></block-definition><block-definition s="what day of the week was %&apos;month name&apos; %&apos;date&apos; %&apos;year&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs></block-definition><block-definition s="month name" type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportEquals"><block var="month number"/><l>1</l></block><script><block s="doSayFor"><l>January</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>2</l></block><script><block s="doSayFor"><l>February</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>3</l></block><script><block s="doSayFor"><l>March</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>4</l></block><script><block s="doSayFor"><l>April</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>5</l></block><script><block s="doSayFor"><l>May</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>6</l></block><script><block s="doSayFor"><l>June</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>7</l></block><script><block s="doSayFor"><l>July</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>8</l></block><script><block s="doSayFor"><l>August</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>9</l></block><script><block s="doSayFor"><l>September</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>10</l></block><script><block s="doSayFor"><l>October</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>11</l></block><script><block s="doSayFor"><l>November</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block var="month number"/><l>12</l></block><script><block s="doSayFor"><l>December</l><l>2</l></block></script></block></script></block-definition><block-definition s="is a leap year" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportAnd"><block s="reportEquals"><block s="reportModulus"><block var="year number"/><l>4</l></block><l>0</l></block><block s="reportOr"><block s="reportNot"><block s="reportEquals"><block s="reportModulus"><block var="year number"/><l>100</l></block><l>0</l></block></block><block s="reportEquals"><block s="reportModulus"><block var="year number"/><l>400</l></block><l>0</l></block></block></block><script><block s="doSayFor"><l>is a leap year</l><l>2</l></block></script><script><block s="doSayFor"><l>is not a leap year</l><l>2</l></block></script></block></script></block-definition><block-definition s="day name" type="command" category="looks"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Fri</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>28</l></block><script><block s="doSayFor"><l>Sat</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Tue</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>Thrus</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>Thrus</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Sun</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>Tue</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Fri</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Mon</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>Wed</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Sat</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>Mon</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>Wed</l><l>2</l></block></script></block></script></block-definition><block-definition s="is a valid date" type="command" category="control"><header></header><code></code><translations></translations><inputs></inputs><scripts><script x="23" y="86.20000000000044"><block s="doIf"><block s="reportGreaterThan"><block var="date number"/><l>31</l></block><script></script></block></script></scripts></block-definition></blocks><variables><variable name="date number"><l>0</l></variable><variable name="day number"><l>0</l></variable><variable name="month number"><l>3</l></variable><variable name="year number"><l>210</l></variable></variables></project><media name="3.3 Lets Check My Calendar" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>