{"id":21,"date":"2025-09-12T15:23:36","date_gmt":"2025-09-12T15:23:36","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/l_smith\/?p=21"},"modified":"2025-09-12T15:23:36","modified_gmt":"2025-09-12T15:23:36","slug":"free-friday-9-12-25","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/l_smith\/2025\/09\/12\/free-friday-9-12-25\/","title":{"rendered":"free friday 9\/12\/25"},"content":{"rendered":"\n<p>today was free friday i worked on a project where it predects <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"BUILDING AN NFL MODEL WITH PYTHON!\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/03D-1HXcoIM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"NFL Data with Python\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/2MB2B_Ng4wo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image-1024x554.png\" alt=\"\" class=\"wp-image-23\" srcset=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image-1024x554.png 1024w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image-300x162.png 300w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image-768x416.png 768w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image-1536x832.png 1536w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2025\/09\/image.png 1895w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code> Generates a simple round-robin schedule for a list of teams.\n    Each team plays every other team once.\n    \"\"\"\n    num_teams = len(teams)\n    if num_teams % 2 != 0:\n        # Add a \"bye\" team if the number of teams is odd to make scheduling easier\n        teams.append(\"BYE\")\n        num_teams += 1\n what this does is enener the teams have 18 weeks with 1 bye week<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>today was free friday i worked on a project where it predects<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/21\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}