<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <url>
    <loc>https://www.samcodes.us/home</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <lastmod>2023-08-22</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1607550381067-AYLCCIA0I2JEES7D2JQZ/me.jpg</image:loc>
      <image:title>Home - About Sam</image:title>
      <image:caption>Samantha is a skilled programmer in various languages, including Java, Python, and SQL. Her academic interests include (Big) data programming and sorting algorithms. Samantha is passionate about making an impact. When she is not counseling bilingual high school students, she enjoys film photography, exercise, and spending time outdoors.</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/contact</loc>
    <changefreq>daily</changefreq>
    <priority>0.75</priority>
    <lastmod>2020-09-28</lastmod>
  </url>
  <url>
    <loc>https://www.samcodes.us/links</loc>
    <changefreq>daily</changefreq>
    <priority>0.75</priority>
    <lastmod>2021-01-07</lastmod>
  </url>
  <url>
    <loc>https://www.samcodes.us/projects</loc>
    <changefreq>daily</changefreq>
    <priority>0.75</priority>
    <lastmod>2020-12-09</lastmod>
  </url>
  <url>
    <loc>https://www.samcodes.us/projects/nyc-lead</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2021-03-04</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1607545297933-XM6KOYWMDYOCX6SXVBFY/leaddatasample.jpg</image:loc>
      <image:title>Projects - NYC Lead at the Tap</image:title>
      <image:caption>Data Source, dataset</image:caption>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/projects/dsny-salt-usage</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2020-12-09</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1607470086045-XOGWUQX9G6JESD38NTDA/datasample.jpg</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
      <image:caption>data source</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614290730644-LVISXI7T1FOHXN8J6NPW/Salt1Results.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/567a56dc-b256-4be8-9cfc-440b126bbdda/SaltBarChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/2ca7c873-dd7a-417f-a521-f9df4d89a678/ManhattanChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/3897dc6c-8bdc-48b0-b19e-2cf5e3c28bdf/BronxChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/4af5d4d2-895d-4d24-956e-d3ef35223d79/BrooklynChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/ef728a7b-ccae-4ee8-bd84-de60b13e1b03/QueensChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/bca25af8-1978-4b42-a865-faf43ff8f80c/StatenIslandChart.png</image:loc>
      <image:title>Projects - DSNY Salt Usage 2016-2019</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/projects/nyc-tree-census</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2020-12-09</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1607527941188-ECU2GLMQV323IA5WOZ6S/treedatasample.png</image:loc>
      <image:title>Projects - NYC Tree Census 2015</image:title>
      <image:caption>data source</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614288957311-TAIHYQDDPNHWQGN6KO2X/TreesNYCStats.jpg</image:loc>
      <image:title>Projects - NYC Tree Census 2015</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614288920359-J1TP5AHHFVW0MWLACCNT/TreesNYCTotal.jpg</image:loc>
      <image:title>Projects - NYC Tree Census 2015</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/projects/brooklyn-bridge</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2020-12-09</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1607533474430-KDL3FRQTPSKW98OUQ61C/bridgedatasample.png</image:loc>
      <image:title>Projects - Brooklyn Bridge Pedestrian Counts</image:title>
      <image:caption>data source</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614289735223-KL1XICXTDS18QM26CZI6/BrooklynBridgeChart.png</image:loc>
      <image:title>Projects - Brooklyn Bridge Pedestrian Counts</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/python</loc>
    <changefreq>daily</changefreq>
    <priority>0.75</priority>
    <lastmod>2020-12-08</lastmod>
  </url>
  <url>
    <loc>https://www.samcodes.us/python/04-objects-type-casting</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2021-01-22</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1611599391723-B4Z1TXZ0VRMPMC3JRIU5/typecasting.jpg</image:loc>
      <image:title>Python - 04 - Objects, Type Casting - Calling the str function on an int argument will give you a new object (a string) containing only the number Calling the int function on a string argument (containing only numeric characters) will give you a new object (an int) with the value of the number in the string. Calling the float function on an int argument</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1611605278380-57M8S6KQTC0JCR4824R3/fn.png</image:loc>
      <image:title>Python - 04 - Objects, Type Casting - note- I casted difference to a string inside the print statement. Of course, this could have been done on its own line, but this way our code is a bit more concise.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1611605723399-GLSOIELO331P7JMCWH2P/exactly.png</image:loc>
      <image:title>Python - 04 - Objects, Type Casting - example calling our function, it prompts the user to enter their age. I typed 100</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1611605778642-E4QRJYEYXBAS5Q5B1QWA/greaterthan.png</image:loc>
      <image:title>Python - 04 - Objects, Type Casting - example calling our function, it prompts the user to enter their age. I typed 102</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1611605624823-ZA5GZPAYNUP2V3JPJWGS/lessthan.png</image:loc>
      <image:title>Python - 04 - Objects, Type Casting - example calling our function, it prompts the user to enter their age. I typed 22</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/python/python-03-getting-user-input</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2021-01-13</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610580093135-3XGJNYF5Z7N2HTQ56FCB/rungreeting.png</image:loc>
      <image:title>Python - 03 - Getting User Input - result from running code in Terminal</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610579573286-BCD16NA3RB7199AIWQKX/greeting.png</image:loc>
      <image:title>Python - 03 - Getting User Input</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610581316115-VCVKMLKFV6IF1BZZLQYO/othergreeting.png</image:loc>
      <image:title>Python - 03 - Getting User Input - I included a print statement as a prompt before calling the input function.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610581437682-2G44OKYYCRYS6EFAPM6H/runothergreeting.png</image:loc>
      <image:title>Python - 03 - Getting User Input - result from running code in terminal.</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/python/02</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2021-01-07</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1609975854209-VMC8YHB1ABUO3YD7TUV5/type.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - The type() function returns the data type of whatever you pass to it as an argument.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1609975490753-P0YQTIPQDYBVM3Q9P5OW/twovar.jpg</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - I created a variable called my_var and I set its value to 10. I tried to create another variable called my_var and set its value to 11… When I printed the value of my_var, it’s value was 11… *So actually I never created another variable called my_var, I just changed the value of my_var. *the print function can also be called with an int as an argument</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1609985012487-P3AM6W16CHIL8YBBGBRC/compare1.jpg</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610039361709-BMNG4QE8HS4G2UPFBKOZ/defareequal.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - x and y are parameters in this function</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610039667017-27V9QRS7HS5DTCLOEQJT/callareequal.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - Python will start with the if- part x == y will return True, so it will print “ the numbers are equal” The else- part will not happen and the program will stop there</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610038826397-EKZU4MALW5EYHL2CR8LW/if-else.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - Python will start with the if- part. a == b will return False, so the indented part underneath will not happen. It will move on to the else- part and print “the numbers are not equal”</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610042723348-48BJZPY3RW2HNL8JB2MJ/defcomparenumbers.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments - In this example, I wrote a function that takes two numbers as arguments and prints a string that tells how the numbers compare. It also prints a message to let us know that the program completed.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610044370710-VH2K961EHNVLOTTR8KN4/callcomparenumbers.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610045002403-E89K92WPFB9ADIKD93UI/comment2.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1610044903157-TRSSAT4PIDNJFFQ8HOS9/comment1.png</image:loc>
      <image:title>Python - 02 - Data Types, Variables, If-Else, Comments</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/python/01</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2020-12-07</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606497263948-DXR3YHU8AV5Z0QC7QH6Z/printhelloworld.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - result from running code in Python Shell</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606497731944-DNMKWFE5SA3T95FAQDG0/strings.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - examples of strings in Python</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606498053557-S6J6VBVV405NIW7HJTVP/concatenating.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - concatenate two or more strings using the + operator</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606498455526-V2NIDHU1V0WR8RNHVTKX/hellospaceworld.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - Notice how the space is in a different place in each line, but the resulting string is the same.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606498367914-K96ON2CEAEZ8OA8ZQ2UX/helloandworld.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - Concatenating “Hello” and “World”</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606499041349-134MG4F4TPRQ3V9A2ASV/deffunction.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606499249412-6HR1NS6YU6WGJ4SEIHUJ/callhelloworld.jpg</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - After running the code for the function definition, we are ready to call our function. We just use the function name and the parentheses. Since our parentheses were empty in the function definition, we leave them empty here.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606517134488-CI4LRE625DABCMTVPFIP/helloeveryone.jpg</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606516624645-7X32PN9VU2WLZ2KSLRAO/hellox.jpg</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - I’ve put a parameter, x, in the parentheses. It represents the name that we’ll pass to this function when we call it. In the function body, I used concatenation to create a new string that is hello, a space, then the parameter x.</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1606516982878-X2TL3T5XYEE1H5EEJDUM/hellosamantha.png</image:loc>
      <image:title>Python - 01- Hello World!, Strings, Functions - We call the function using the function name, and this function is expecting an argument as a string, so I’ve used my name in quotation marks.</image:title>
    </image:image>
  </url>
  <url>
    <loc>https://www.samcodes.us/python/07-string-manipulation</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    <lastmod>2021-03-03</lastmod>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810742890-IFDN1O4L0GSHGPPQW4PP/strings06</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>a step of 1 would be every single character, so a step of 2 means every other character</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810657861-0CKWE8I6W4PGHU0Z5XYA/strings05</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>no start index, index -1 represents the last character, so from the beginning up to (excluding) the last character</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810911706-KS42P17T6DX4XYU2ZKHG/strings08</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810378995-AXGUXMP071N970VI9UAF/strings02</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>Index -1 represents the last character of any string</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810551704-2W0AOJCALTFD1V8AAAYQ/strings04</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>if no stop index is specified, Python will just go to the end of the string</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614811420644-UJJY83V1V6S57P0Y4MQQ/strings01</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>Index 0 is always the first character</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810412172-OR57D0CAC1SRMDEL8E50/strings03</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>if no start index is specified, index 0 is implied</image:caption>
    </image:image>
    <image:image>
      <image:loc>https://images.squarespace-cdn.com/content/v1/5edf896030aa5b157779cff0/1614810818858-I6P9AC68V3SM18STZR5A/strings07</image:loc>
      <image:title>Python - 07 - String Manipulation</image:title>
      <image:caption>a step of -1, negative means backwards and 1 is every character, so every character, but backwards</image:caption>
    </image:image>
  </url>
</urlset>

