<snapdata remixID="10137210"><project name="Lab 3.3 Pereira, Paulo" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAC/0lEQVR4Xu3XwWkjYRCE0bFycQZKRGdHobx8dDzOQyctLNjsZWFUFNTl6fx3Nzw+GPT2fD6fhx+BkcCbAEfyzv4VEKAQpgICnPI7LkANTAUEOOV3XIAamAoIcMrvuAA1MBUQ4JTfcQFqYCogwCm/4wLUwFRAgFN+xwWogamAAKf8jgtQA1MBAU75HRegBqYCApzyOy5ADUwFBDjld1yAGpgKCHDK77gANTAVEOCU33EBamAqIMApv+MC1MBUQIBTfscFqIGpgACn/I4LUANTAQFO+R0XoAamAgKc8jsuQA1MBQQ45XdcgBqYCghwyu+4ADUwFRDglN9xAWpgKiDAKb/jAtTAVECAU37HBaiBqYAAp/yOC1ADUwEBTvkdF6AGpgICnPI7LkANTAUEOOV3XIAamAoIcMrvuAA1MBUQ4An+6/V63O/34+Pj48RrT14REOBJrdvt9vvy+/v7+Pz8PN7f309Oe/Y/AQG+0Ma/Ef6MXS6X4/F4HF9fXy9s8vRHQIAvtCDAF7BOPhXgSSif4JNQLz4T4Akwf0JOIIVPBBjCGesICLDjaEsoIMAQzlhHQIAdR1tCAQGGcMY6AgLsONoSCggwhDPWERBgx9GWUECAIZyxjoAAO462hAICDOGMdQQE2HG0JRQQYAhnrCMgwI6jLaGAAEM4Yx0BAXYcbQkFBBjCGesICLDjaEsoIMAQzlhHQIAdR1tCAQGGcMY6AgLsONoSCggwhDPWERBgx9GWUECAIZyxjoAAO462hAICDOGMdQQE2HG0JRQQYAhnrCMgwI6jLaGAAEM4Yx0BAXYcbQkFBBjCGesICLDjaEsoIMAQzlhHQIAdR1tCAQGGcMY6AgLsONoSCggwhDPWERBgx9GWUECAIZyxjoAAO462hAICDOGMdQQE2HG0JRQQYAhnrCMgwI6jLaGAAEM4Yx0BAXYcbQkFBBjCGesICLDjaEsoIMAQzlhHQIAdR1tCAQGGcMY6AgLsONoSCggwhDPWERBgx9GWUECAIZyxjsAfbwb8qGXkFXEAAAAASUVORK5CYII=</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" hyperops="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+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+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><watcher scope="Stage" s="getLastAnswer" style="normal" x="10" y="10" color="4,148,220" hidden="true"/><watcher var="Month" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="Day" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="Year" style="normal" x="11" y="73.00000799999998" color="243,118,29" hidden="true"/><watcher var="Date" style="normal" x="10" y="94.00000999999997" color="243,118,29" hidden="true"/><watcher var="Days in month" style="normal" x="10" y="115.00000599999998" color="243,118,29" hidden="true"/><watcher var="Days into the year" style="normal" x="10" y="136.00000799999998" color="243,118,29" hidden="true"/><watcher var="incode" style="normal" x="10" y="157.00000999999997" color="243,118,29" hidden="true"/><sprite name="Sprite" idx="1" x="9" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="16"><costumes><list struct="atomic" id="17"></list></costumes><sounds><list struct="atomic" id="18"></list></sounds><blocks></blocks><variables></variables><scripts><script x="90" y="50.6666666666666"><block s="receiveGo"></block><custom-block s="Let me check my calendar"></custom-block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Month" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>Your month is January</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>2</l></block><script><block s="doSayFor"><l>Your month is February</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>3</l></block><script><block s="doSayFor"><l>Your month is March</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>4</l></block><script><block s="doSayFor"><l>Your month is April</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>5</l></block><script><block s="doSayFor"><l>Your month is May</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>6</l></block><script><block s="doSayFor"><l>Your month is June</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>7</l></block><script><block s="doSayFor"><l>Your month is July</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>8</l></block><script><block s="doSayFor"><l>Your month is August</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>9</l></block><script><block s="doSayFor"><l>Your month is September</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>10</l></block><script><block s="doSayFor"><l>Your month is October</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>11</l></block><script><block s="doSayFor"><l>Your month is November</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>12</l></block><script><block s="doSayFor"><l>Your month is December</l><l>2</l></block></script></block><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>Not a valid </l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>12</l></block><script><block s="doSayFor"><l>Not a valid </l><l>2</l></block></script></block></script></block-definition><block-definition s="Day" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>Your day is Sunday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>2</l></block><script><block s="doSayFor"><l>Your day is Monday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>3</l></block><script><block s="doSayFor"><l>Your day is Tuesday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>4</l></block><script><block s="doSayFor"><l>Your day is Wednesday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>5</l></block><script><block s="doSayFor"><l>Your day is Thursday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>6</l></block><script><block s="doSayFor"><l>Your day is Friday</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>7</l></block><script><block s="doSayFor"><l>Your day is Saturday</l><l>2</l></block></script></block><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid day</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>7</l></block><script><block s="doSayFor"><l>This is not a valid day</l><l>2</l></block></script></block></script></block-definition><block-definition s="Date" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>1</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>2</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>29</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>3</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>4</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>5</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>6</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>7</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>8</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>9</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>10</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>11</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>30</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>12</l></block><script><block s="doIf"><block s="reportLessThan"><block s="getLastAnswer"></block><l>1</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block><block s="doIf"><block s="reportGreaterThan"><block s="getLastAnswer"></block><l>31</l></block><script><block s="doSayFor"><l>This is not a valid date</l><l>2</l></block></script></block></script><script><block s="doSayFor"><block s="reportJoinWords"><list><block s="getLastAnswer"></block><l> is your date</l></list></block><l>2</l></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block-definition><block-definition s="Days in month" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><l><bool>true</bool></l><script><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>January</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>February</l></block><script><block s="doSayFor"><l>There are 28 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>March</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>April</l></block><script><block s="doSayFor"><l>There are 30 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>May</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>June</l></block><script><block s="doSayFor"><l>There are 30 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>July</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>August</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>September</l></block><script><block s="doSayFor"><l>There are 30 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>October</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>November</l></block><script><block s="doSayFor"><l>There are 30 days in this month</l><l>2</l></block></script></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>December</l></block><script><block s="doSayFor"><l>There are 31 days in this month</l><l>2</l></block></script></block></script><script><block s="doSayFor"><l>This is not a valid month</l><l>2</l></block></script></block></script></block-definition><block-definition s="Year" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportAnd"><block s="reportEquals"><block s="reportModulus"><block var="Year"/><l>4</l></block><l>0</l></block><block s="reportOr"><block s="reportEquals"><block s="reportNot"><block s="reportModulus"><block var="Year"/><l>100</l></block></block><l>0</l></block><block s="reportEquals"><block s="reportModulus"><block var="Year"/><l>400</l></block><l>0</l></block></block></block><script><block s="doSayFor"><l>This year is a leap year</l><l>2</l></block></script><script><block s="doSayFor"><l>This year is not a leap year</l><l>2</l></block></script></block></script></block-definition><block-definition s="is your date" type="predicate" category="looks"><header></header><code></code><translations></translations><inputs></inputs></block-definition><block-definition s="Days into the year" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>1</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>0</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>2</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>31</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>3</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>59</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>4</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>90</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>5</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>120</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>6</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>151</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>7</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>181</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>8</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>212</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>9</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>243</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>10</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>273</l><block var="Date"/></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="Month"/><l>11</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>304</l><block var="Date"/></block></block></script><script><block s="doIf"><block s="reportEquals"><block var="Month"/><l>12</l></block><script><block s="doSetVar"><l>Days into the year</l><block s="reportSum"><l>334</l><block var="Date"/></block></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block></script></block><block s="doSayFor"><block s="reportJoinWords"><list><l>You are </l><block s="reportJoinWords"><list><block var="Days into the year"/><l> days into the year</l></list></block></list></block><l>2</l></block></script></block-definition><block-definition s="Calendar %&apos;Month&apos; %&apos;Days In the Month&apos; %&apos;1-7 For a Day&apos; %&apos;What year is it&apos; %&apos;pick a date&apos; %&apos;days into the year&apos;" type="command" category="variables"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><block var="Month"/></block><script><custom-block s="Month"></custom-block><block s="doSetVar"><l>Month</l><block s="getLastAnswer"></block></block></script></block></script><scripts><script x="299" y="147.49999999999994"><block s="doAsk"><l>Say your month again for how many days are in it</l></block><custom-block s="Days in month"></custom-block><block s="doAsk"><l>Pick a number 1-7 for a day</l></block><custom-block s="Day"></custom-block><block s="doSetVar"><l>Day</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>What is your year</l></block><custom-block s="Year"></custom-block><block s="doSetVar"><l>Year</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>Pick a date</l></block><custom-block s="Date"></custom-block><block s="doSetVar"><l>Date</l><block s="getLastAnswer"></block></block><custom-block s="Days into the year"></custom-block></script></scripts></block-definition><block-definition s="Let me check my calendar" type="command" category="variables"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Pick a month (Use The number of the month)</l></block><custom-block s="Month"></custom-block><block s="doSetVar"><l>Month</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>How many days are in the month you chose</l></block><custom-block s="Days in month"></custom-block><block s="doAsk"><l>Pick a number 1-7 for a day</l></block><custom-block s="Day"></custom-block><block s="doSetVar"><l>Day</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>What is your year</l></block><custom-block s="Year"></custom-block><block s="doSetVar"><l>Year</l><block s="getLastAnswer"></block></block><block s="doAsk"><l>Pick a date</l></block><custom-block s="Date"></custom-block><block s="doSetVar"><l>Date</l><block s="getLastAnswer"></block></block><custom-block s="Days into the year"></custom-block></script></block-definition></blocks><variables><variable name="Month"><l>6</l></variable><variable name="Day"><l>7</l></variable><variable name="Days in month"><l>February</l></variable><variable name="Date"><l>23</l></variable><variable name="Year"><l>4</l></variable><variable name=""><l>0</l></variable><variable name="Days into the year"><l>174</l></variable><variable name="regular"><l>0</l></variable><variable name="incode"><l>0</l></variable></variables></project><media name="Lab 3.3 Pereira, Paulo" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>