Datasets:
Download web/praxide.example/reference/site/challenges/python3/index.html from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 84.6 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/praxide.example/reference/site/challenges/python3/index.html
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/praxide.example/reference/site/challenges/python3/index.html
-
curl -L -o index.html https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/praxide.example/reference/site/challenges/python3/index.html
84.6 kB
| <html lang="en"><head> | |
| <link class="__meteor-css__" href="/c039cef9b47481baf0e9a343e536154438171f0f.css?meteor_css_resource=true" rel="stylesheet" type="text/css"/> | |
| <link class="__meteor-css__" href="/52f02f273b0d7fd6013f016f05c3645aa114c8e6.css?meteor_css_resource=true" rel="stylesheet" type="text/css"/> | |
| <meta content="!" name="fragment"/> | |
| <link href="/_404.html" rel="stylesheet"/> | |
| <link href="/_cdn/praxide-fonts.s3-us-west-1.amazonaws.com/avenir.css?family=Avenir" rel="stylesheet"/> | |
| <link href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/> | |
| <title>2,500+ Python Practice Challenges // Praxide</title> | |
| <meta content="width=device-width, initial-scale=1.0" name="viewport"/> | |
| <link href="/_404.html" rel="stylesheet"/> | |
| <link href="/_cdn/praxide-fonts.s3-us-west-1.amazonaws.com/avenir.css?family=Avenir" rel="stylesheet"/> | |
| <link href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/> | |
| <style type="text/css">.s-alert-box,.s-alert-box *{-webkit-box-sizing:border-box;box-sizing:border-box}.s-alert-box{position:fixed;background:rgba(42,45,50,0.85);padding:22px;line-height:1.4;z-index:1000;pointer-events:none;color:rgba(250,251,255,0.95);font-size:100%;font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;-webkit-transition:top .4s, bottom .4s;transition:top .4s, bottom .4s}.s-alert-box.s-alert-show{pointer-events:auto}.s-alert-box a{color:inherit;opacity:0.7;font-weight:700}.s-alert-box a:hover,.s-alert-box a:focus{opacity:1}.s-alert-box p{margin:0}.s-alert-box.s-alert-show,.s-alert-box.s-alert-visible{pointer-events:auto}.s-alert-bottom-left{top:auto;right:auto;bottom:30px;left:30px}.s-alert-top-left{top:30px;right:auto;bottom:auto;left:30px}.s-alert-top-right{top:30px;right:30px;bottom:auto;left:auto}.s-alert-bottom-right{top:auto;right:30px;bottom:30px;left:auto}.s-alert-bottom{width:100%;max-width:100%;bottom:0;left:0;right:0;top:auto}.s-alert-top{width:100%;max-width:100%;top:0;left:0;right:0;bottom:auto}.s-alert-info{background:#2987CD;color:#fff}.s-alert-success{background:#2DB84B;color:#fff}.s-alert-warning{background:#FABC2E;color:#fff}.s-alert-error{background:#DB2828;color:#fff}[class^="s-alert-effect-"].s-alert-hide,[class*=" s-alert-effect-"].s-alert-hide{-webkit-animation-direction:reverse;animation-direction:reverse}.s-alert-box-height{visibility:hidden;position:fixed}</style><style type="text/css">.s-alert-effect-jelly a{color:#fff}.s-alert-effect-jelly a:hover,.s-alert-effect-jelly a:focus{color:#fff}.s-alert-effect-jelly .s-alert-close::before,.s-alert-effect-jelly .s-alert-close::after{background:#fff}.s-alert-effect-jelly .s-alert-close:hover::before,.s-alert-effect-jelly .s-alert-close:hover::after{background:#fff}.s-alert-effect-jelly.s-alert-show{-webkit-animation-name:animJelly;animation-name:animJelly;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.s-alert-effect-jelly.s-alert-hide{-webkit-animation-name:animFade;animation-name:animFade;-webkit-animation-duration:0.3s;animation-duration:0.3s}@-webkit-keyframes animFade{0%{opacity:0}100%{opacity:1}}@keyframes animFade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes animJelly{0%{-webkit-transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.083333%{-webkit-transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.166667%{-webkit-transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}6.25%{-webkit-transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.333333%{-webkit-transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}10.416667%{-webkit-transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}12.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}14.583333%{-webkit-transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}16.666667%{-webkit-transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}18.75%{-webkit-transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}20.833333%{-webkit-transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}22.916667%{-webkit-transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25%{-webkit-transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}27.083333%{-webkit-transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.166667%{-webkit-transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.25%{-webkit-transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{-webkit-transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.416667%{-webkit-transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.583333%{-webkit-transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.666667%{-webkit-transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}43.75%{-webkit-transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}45.833333%{-webkit-transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}47.916667%{-webkit-transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}50%{-webkit-transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.083333%{-webkit-transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.166667%{-webkit-transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.25%{-webkit-transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}58.333333%{-webkit-transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}60.416667%{-webkit-transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}62.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}64.583333%{-webkit-transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}66.666667%{-webkit-transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.75%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}70.833333%{-webkit-transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}72.916667%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75%{-webkit-transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.083333%{-webkit-transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.166667%{-webkit-transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.25%{-webkit-transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.333333%{-webkit-transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.416667%{-webkit-transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.583333%{-webkit-transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.666667%{-webkit-transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.75%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.833333%{-webkit-transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.916667%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}@keyframes animJelly{0%{-webkit-transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.083333%{-webkit-transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.166667%{-webkit-transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}6.25%{-webkit-transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.333333%{-webkit-transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}10.416667%{-webkit-transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}12.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}14.583333%{-webkit-transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}16.666667%{-webkit-transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}18.75%{-webkit-transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}20.833333%{-webkit-transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}22.916667%{-webkit-transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25%{-webkit-transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}27.083333%{-webkit-transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.166667%{-webkit-transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.25%{-webkit-transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{-webkit-transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.416667%{-webkit-transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.583333%{-webkit-transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.666667%{-webkit-transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}43.75%{-webkit-transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}45.833333%{-webkit-transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}47.916667%{-webkit-transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}50%{-webkit-transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.083333%{-webkit-transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.166667%{-webkit-transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.25%{-webkit-transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}58.333333%{-webkit-transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}60.416667%{-webkit-transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}62.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}64.583333%{-webkit-transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}66.666667%{-webkit-transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.75%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}70.833333%{-webkit-transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}72.916667%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75%{-webkit-transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.083333%{-webkit-transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.166667%{-webkit-transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.25%{-webkit-transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.333333%{-webkit-transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.416667%{-webkit-transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.583333%{-webkit-transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.666667%{-webkit-transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.75%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.833333%{-webkit-transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.916667%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}</style><meta content="Sharpen your Python skills with fun, bite-sized exercises. Earn XP, unlock badges and level up as you go. Coding practice has never felt this rewarding." dochead="1" name="description"/><link dochead="1" href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/><meta charset="utf-8" dochead="1"/><meta content="coding challenges, programming challenges" dochead="1" name="keywords"/><meta content="summary_large_image" dochead="1" name="twitter:card"/><meta content="@praxide" dochead="1" name="twitter:site"/><meta content="Learn to code with fun, bite-sized challenges. Earn XP, unlock achievements and level up. It's like Duolingo for learning to code." dochead="1" property="og:description"/><meta content="/_cdn/s3.amazonaws.com/edabit-images/logo_wide_large.png" dochead="1" property="og:image"/><meta content="praxide" dochead="1" property="og:site_name"/><meta content="Learn to Code with 10,000+ Interactive Challenges" dochead="1" property="og:title"/><meta content="website" dochead="1" property="og:type"/><style data-captured-cssinjs="true">.s-alert-box, .s-alert-box * { box-sizing: border-box; } | |
| .s-alert-box { position: fixed; background: rgba(42, 45, 50, 0.85); padding: 22px; line-height: 1.4; z-index: 1000; pointer-events: none; color: rgba(250, 251, 255, 0.95); font-size: 100%; font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; transition: top 0.4s, bottom 0.4s; } | |
| .s-alert-box.s-alert-show { pointer-events: auto; } | |
| .s-alert-box a { color: inherit; opacity: 0.7; font-weight: 700; } | |
| .s-alert-box a:hover, .s-alert-box a:focus { opacity: 1; } | |
| .s-alert-box p { margin: 0px; } | |
| .s-alert-box.s-alert-show, .s-alert-box.s-alert-visible { pointer-events: auto; } | |
| .s-alert-bottom-left { inset: auto auto 30px 30px; } | |
| .s-alert-top-left { inset: 30px auto auto 30px; } | |
| .s-alert-top-right { inset: 30px 30px auto auto; } | |
| .s-alert-bottom-right { inset: auto 30px 30px auto; } | |
| .s-alert-bottom { width: 100%; max-width: 100%; inset: auto 0px 0px; } | |
| .s-alert-top { width: 100%; max-width: 100%; inset: 0px 0px auto; } | |
| .s-alert-info { background: rgb(41, 135, 205); color: rgb(255, 255, 255); } | |
| .s-alert-success { background: rgb(45, 184, 75); color: rgb(255, 255, 255); } | |
| .s-alert-warning { background: rgb(250, 188, 46); color: rgb(255, 255, 255); } | |
| .s-alert-error { background: rgb(219, 40, 40); color: rgb(255, 255, 255); } | |
| [class^="s-alert-effect-"].s-alert-hide, [class*=" s-alert-effect-"].s-alert-hide { animation-direction: reverse; } | |
| .s-alert-box-height { visibility: hidden; position: fixed; }.s-alert-effect-jelly a { color: rgb(255, 255, 255); } | |
| .s-alert-effect-jelly a:hover, .s-alert-effect-jelly a:focus { color: rgb(255, 255, 255); } | |
| .s-alert-effect-jelly .s-alert-close::before, .s-alert-effect-jelly .s-alert-close::after { background: rgb(255, 255, 255); } | |
| .s-alert-effect-jelly .s-alert-close:hover::before, .s-alert-effect-jelly .s-alert-close:hover::after { background: rgb(255, 255, 255); } | |
| .s-alert-effect-jelly.s-alert-show { animation-name: animJelly; animation-duration: 1s; animation-timing-function: linear; } | |
| .s-alert-effect-jelly.s-alert-hide { animation-name: animFade; animation-duration: 0.3s; } | |
| @-webkit-keyframes animFade { | |
| 0% { opacity: 0; } | |
| 100% { opacity: 1; } | |
| } | |
| @keyframes animFade { | |
| 0% { opacity: 0; } | |
| 100% { opacity: 1; } | |
| } | |
| @-webkit-keyframes animJelly { | |
| 0% { transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 2.08333% { transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 4.16667% { transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 6.25% { transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 8.33333% { transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 10.4167% { transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 12.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 14.5833% { transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 16.6667% { transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 18.75% { transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 20.8333% { transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 22.9167% { transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 25% { transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 27.0833% { transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 29.1667% { transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 31.25% { transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 33.3333% { transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 35.4167% { transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 37.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 39.5833% { transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 41.6667% { transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 43.75% { transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 45.8333% { transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 47.9167% { transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 50% { transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 52.0833% { transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 54.1667% { transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 56.25% { transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 58.3333% { transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 60.4167% { transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 62.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 64.5833% { transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 66.6667% { transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 68.75% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 70.8333% { transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 72.9167% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 75% { transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 77.0833% { transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 79.1667% { transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 81.25% { transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 83.3333% { transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 85.4167% { transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 87.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 89.5833% { transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 91.6667% { transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 93.75% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 95.8333% { transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 97.9167% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 100% { transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| } | |
| @keyframes animJelly { | |
| 0% { transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 2.08333% { transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 4.16667% { transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 6.25% { transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 8.33333% { transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 10.4167% { transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 12.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 14.5833% { transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 16.6667% { transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 18.75% { transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 20.8333% { transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 22.9167% { transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 25% { transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 27.0833% { transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 29.1667% { transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 31.25% { transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 33.3333% { transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 35.4167% { transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 37.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 39.5833% { transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 41.6667% { transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 43.75% { transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 45.8333% { transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 47.9167% { transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 50% { transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 52.0833% { transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 54.1667% { transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 56.25% { transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 58.3333% { transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 60.4167% { transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 62.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 64.5833% { transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 66.6667% { transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 68.75% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 70.8333% { transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 72.9167% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 75% { transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 77.0833% { transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 79.1667% { transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 81.25% { transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 83.3333% { transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 85.4167% { transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 87.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 89.5833% { transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 91.6667% { transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 93.75% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 95.8333% { transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 97.9167% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| 100% { transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } | |
| }</style><style>*,*::before,*::after{animation-duration:0s;animation-delay:0s;transition-duration:0s;transition-delay:0s;scroll-behavior:auto;caret-color:transparent}</style></head> | |
| <body> | |
| <iframe aria-hidden="true" id="_hjSafeContext_16514312" src="/challenges/python3/about:blank" style="display: none !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important;" tabindex="-1" title="_hjSafeContext"></iframe><div id="react-root"><div id="MainLayout"><header><div class="nav-shadow" style="background-color: rgb(45, 184, 75);"><div class="ui inverted text attached menu"><div class="ui container" style="height: 65px;"><a class="active link item edabit-logo" href="/." style="margin-top: 4px; margin-left: -18px; font-weight: 600;">praxide</a><a class="link item navbar-item" href="/tutorials" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Tutorials</span></a><a class="active link item navbar-item" href="/challenges" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; padding-bottom: 5px; border-bottom: 2px solid rgb(247, 247, 247);"><span>Challenges</span></a><a class="link item navbar-item" href="/practice" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Practice</span></a><a class="link item navbar-item" href="/shuffle" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Shuffle</span></a><div class="right menu"><div class="item"><button class="ui inverted button" role="button"><span>Sign In</span></button></div><div class="item"><button class="ui inverted button" role="button"><span>Register</span></button></div></div></div></div></div></header><main id="Main"><div class="ui container" style="margin-bottom: 20px;"><div class="ui doubling stackable two column grid" style="margin-top: 3px;"><div class="four wide column"><form class="ui form no-highlight" style="margin-top: 6px;"><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid selection dropdown" role="listbox" tabindex="0"><div aria-live="polite" class="text" role="alert">Python</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition"><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">C#</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">C++</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Java</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">JavaScript</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">PHP</div><div aria-checked="true" aria-selected="true" class="active selected item" role="option" style="pointer-events: all;">Python</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Ruby</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Swift</div></div></div></div></div><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid selection dropdown" role="listbox" style="margin-top: -2px;" tabindex="0"><div aria-live="polite" class="text" role="alert">Very Easy</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition"><div aria-checked="false" aria-selected="true" class="selected item" role="option" style="pointer-events: all;">Very Easy</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Easy</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Medium</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Hard</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Very Hard</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Expert</div></div></div></div></div><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid search selection dropdown" role="combobox" style="margin-top: -2px; margin-bottom: -2px;"><input aria-autocomplete="list" autocomplete="off" class="search" tabindex="0" type="text" value=""/><div aria-live="polite" class="default text" role="alert">Tags (optional)</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition" role="listbox"><div aria-checked="false" aria-selected="true" class="selected item" role="option" style="pointer-events: all;">Algebra</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Algorithms</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Arrays</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Bit Operations</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Bug Fixes</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Classes</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Closures</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Conditions</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Control Flow</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Cryptography</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Data Structures</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Dates</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Formatting</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Functional Programming</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Games</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Geometry</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Higher Order Functions</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Interview</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Language Fundamentals</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Logic</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Loops</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Math</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Numbers</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Objects</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Physics</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Recursion</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Regex</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Scope</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Sorting</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Strings</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Validation</div></div></div></div></div></form><div class="no-highlight hide-complete" style="color: rgb(224, 225, 226); cursor: not-allowed;"><div><span style="text-transform: uppercase; font-size: 11px; margin-left: 5px;"><span>Hide finished</span></span><div class="disabled field float-right"><div class="ui disabled fitted toggle checkbox"><input class="hidden" readonly="" tabindex="-1" type="checkbox" value="on"/><label></label></div></div></div></div><div style="margin-top: 26px;"><div class="no-highlight hidden-small"><svg class="react-calendar-heatmap" viewbox="0 0 175 90"><g class="react-calendar-heatmap-month-labels" transform="translate(0, 0)"><text class="react-calendar-heatmap-month-label" x="22" y="10">Mar</text><text class="react-calendar-heatmap-month-label" x="77" y="10">Apr</text><text class="react-calendar-heatmap-month-label" x="121" y="10">May</text></g><g class="react-calendar-heatmap-all-weeks" transform="translate(0, 14)"><g class="react-calendar-heatmap-week" transform="translate(0, 0)"><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(11, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(22, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(33, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(44, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(55, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(66, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(77, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(88, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(99, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(110, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(121, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(132, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(143, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(154, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(165, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect></g></g><g class="react-calendar-heatmap-weekday-labels" transform="translate(10, 14)"></g></svg></div></div><div class="hidden-small" style="margin-top: 20px; text-align: center;"><svg class="CircularProgressbar no-highlight" viewbox="0 0 100 100"><path class="CircularProgressbar-trail" d=" | |
| M 50,50 | |
| m 0,-48.5 | |
| a 48.5,48.5 0 1 1 0,97 | |
| a 48.5,48.5 0 1 1 0,-97 | |
| " fill-opacity="0" stroke-width="3"></path><path class="CircularProgressbar-path" d=" | |
| M 50,50 | |
| m 0,-48.5 | |
| a 48.5,48.5 0 1 1 0,97 | |
| a 48.5,48.5 0 1 1 0,-97 | |
| " fill-opacity="0" stroke-width="3" style="stroke-dasharray: 304.734px, 304.734px; stroke-dashoffset: 304.734px;"></path><text class="CircularProgressbar-text" x="50" y="50">Level 0</text></svg></div></div><div class="twelve wide column"><div style="margin-bottom: 15px; margin-top: 5px;"><div class="explore-message inf no-highlight"><i aria-hidden="true" class="red video play large icon" style="margin-right: 15px;"></i>See a quick demo of how Praxide works.<div class="message-button"><button class="ui blue tiny button" role="button">PLAY DEMO</button></div></div></div><div class="ui container"><div class="ui divided selection very relaxed middle aligned list" role="list"><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Pin to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/8ym3dKrL3svkYr4h4"><h3 class="header">How Praxide Works</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Here's a friendly walkthrough of how challenges on Praxide play out. Over in the Code tab above, you'll find a starter function that reads like this: def hello(): Your only job is to type return "hello praxide.com" on the second line, then hit the Check button. Nail it, and the button glows red and switches to SUBMIT FINAL. …</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Pin to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/rZToTkR5eB9Zn4zLh"><h3 class="header">Sum Two Numbers and Return It</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts two numbers as arguments and hands back their sum. Examples addition(3, 2) ➞ 5 addition(-3, -6) ➞ -9 addition(7, 3) ➞ 10 Notes Remember to return your answer. Whenever a challenge trips you up, grab a hint from the Resources tab. Still stuck? Reveal the answer in the Solutions tab.</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Pin to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/KjCS7occ9hfu5snpb"><h3 class="header">Return the Next Value After the Given Integer</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts a single number as an argument, bumps that number up by +1, and returns the result. Examples addition(0) ➞ 1 addition(9) ➞ 10 addition(-3) ➞ -2 Notes Remember to return your answer. Whenever a challenge trips you up, grab a hint from the Resources tab. Really stuck? Unlock the solutions in the So …</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Pin to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/FQyaaJx7orS7tiwz8"><h3 class="header">Change Minutes into Seconds</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives an integer minutes and turns it into the matching number of seconds. Examples convert(5) ➞ 300 convert(3) ➞ 180 convert(2) ➞ 120 Notes Remember to return your final value. Feeling stuck on this one? Grab a hint from the Resources tab. Totally stuck? Reveal the answer in the Solutions tab.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/aWLTzrRsrw7RakYrN"><h3 class="header">Triangle Area Finder</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives the base and height of a triangle and hands back its area. Examples tri_area(3, 2) ➞ 3 tri_area(7, 4) ➞ 14 tri_area(10, 10) ➞ 50 Notes The area of a triangle is: (base * height) / 2 Remember to return your final value. Feeling stuck on this one? Grab a hint from the Resources tab. If you're really …</div><div class="tags"><div class="ui small label">geometry</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/CjXamaNRmKxwkmBxq"><h3 class="header">Fix This Bug (Part 1)</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Repair the code in the code tab so this challenge passes (only syntax errors here). Peek at the examples below to get a feel for what the function should do. Examples cube(3) ➞ 27 cube(5) ➞ 125 cube(10) ➞ 1000 Notes READ EACH LINE SLOWLY, LETTER BY LETTER! Don't overthink this one; it really isn't meant to be tricky.</div><div class="tags"><div class="ui small label">bugs</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/nyeNvKWdDFKRAk4Da"><h3 class="header">Change Hours into Seconds</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that turns a number of hours into seconds. Examples howmanyseconds(2) ➞ 7200 howmanyseconds(10) ➞ 36000 howmanyseconds(24) ➞ 86400 Notes 60 seconds in a minute, 60 minutes in an hour Remember to return your answer.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/Zerwo2AENbvRZTe83"><h3 class="header">Largest Edge of a Triangle</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that works out the maximum range of a triangle's third edge, given that every side length is an integer. Examples next_edge(8, 10) ➞ 17 next_edge(5, 7) ➞ 11 next_edge(9, 2) ➞ 10 Notes (side1 + side2) - 1 = maximum range of third edge. The side lengths of the triangle are positive integers. Don't forget to retu …</div><div class="tags"><div class="ui small label">algorithms</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/KWoj7kWiHRqJtG6S2"><h3 class="header">Find the Remainder of Two Numbers</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Python offers one handy operator that hands you the remainder left over from a division. Your function gets two numbers as parameters. Dividing the first parameter by the second leaves a remainder, which might be zero. Send that value back. Examples remainder(1, 3) ➞ 1 remainder(3, 4) ➞ 3 remainder(5, 5) ➞ 0 remainde …</div><div class="tags"><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/GPmoRCZKkyNtoJMcN"><h3 class="header">Convert a String Into a Number</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts a string and gives it back to you as an integer. Examples string_int("6") ➞ 6 string_int("1000") ➞ 1000 string_int("12") ➞ 12 Notes Each value will be a whole number. Each value will be positive.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">numbers</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/xbZR26rHMNo32yz35"><h3 class="header">Work Out Age in Days</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts an age and gives back that age counted in days. Examples calc_age(65) ➞ 23725 calc_age(0) ➞ 0 calc_age(20) ➞ 7300 Notes Treat every year as 365 days for this challenge. Skip leap years and any days between the last birthday and today. Only positive integer inputs will be given.</div><div class="tags"><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/Yx2a9B57vXRuPevGh"><h3 class="header">Work Out a Rectangle's Perimeter</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts length and width and works out the perimeter of a rectangle. Examples find_perimeter(6, 7) ➞ 26 find_perimeter(20, 10) ➞ 60 find_perimeter(2, 9) ➞ 22 Notes Remember to return your result. If you get stuck, look for hints in the Resources tab. If you're still stuck, browse answers in the Solutions tab.</div><div class="tags"><div class="ui small label">geometry</div><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/v5gc8FQkDEepkqpfp"><h3 class="header">Wattage Calculator</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts voltage and current and returns the resulting power. Examples circuit_power(230, 10) ➞ 2300 circuit_power(110, 3) ➞ 330 circuit_power(480, 20) ➞ 9600 Notes You'll need a basic understanding of electrical circuits (check the Resources for details).</div><div class="tags"><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/mDzheHpwtqyXePEBE"><h3 class="header">Total Polygon Angles</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Given a regular polygon with n sides, return the combined total of its interior angles (measured in degrees). Examples sum_polygon(3) ➞ 180 sum_polygon(4) ➞ 360 sum_polygon(6) ➞ 720 Notes n will always be greater than 2. The formula (n - 2) x 180 yields the sum of all the angle measures in an n-sided polygon.</div><div class="tags"><div class="ui small label">functional_programming</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/xWSjvoH7mEkSnqS7H"><h3 class="header">Raised to the ___ Power</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that accepts a base number and an exponent number and returns the result of the calculation. Examples calculate_exponent(5, 5) ➞ 3125 calculate_exponent(10, 10) ➞ 10000000000 calculate_exponent(3, 3) ➞ 27 Notes Every test input will be a positive integer. Remember to return your result. If a challenge has you stuck …</div><div class="tags"><div class="ui small label">logic</div><div class="ui small label">loops</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/QQp2o22huzBCkHesy"><h3 class="header">Convert a Boolean to a String</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that receives a boolean value flag and hands it back to you as a string. Examples booltostring(True) ➞ "True" booltostring(False) ➞ "False" Notes Remember to actually return your answer! Feeling stuck on this one? Grab a hint from the Resources tab. Totally stumped? Unlock the walkthrough in the Solutions tab.</div><div class="tags"><div class="ui small label">bit_operations</div><div class="ui small label">conditions</div><div class="ui small label">logic</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/sLkTkfLgZYs5wejsg"><h3 class="header">Squash the Syntax Bugs</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Head into the code tab and repair the function so every test passes — you're only hunting for syntax errors here. Study the examples below to see exactly what the output should be. Examples squared(5) ➞ 25 squared(9) ➞ 81 squared(100) ➞ 10000 Notes SLOW DOWN AND READ EACH LINE, LETTER BY LETTER! Resist the urge to overcomplicate it; this one really isn't meant to …</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">bugs</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/hEQ3rBrKrztQK8qAd"><h3 class="header">Return the First Item From a List</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives a list made up entirely of numbers and gives back its very first element. Examples getfirstvalue([1, 2, 3]) ➞ 1 getfirstvalue([80, 5, 100]) ➞ 80 getfirstvalue([-500, 0, 50]) ➞ -500 Notes Remember, the opening element of any list always sits at an index of 0.</div><div class="tags"><div class="ui small label">arrays</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/gwqqc5p3oiFXRJAQm"><h3 class="header">Team Points Tally</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that receives a team's tally of wins, draws and losses and works out how many points that football side has racked up so far. wins get 3 points draws get 1 point losses get 0 points Examples football_points(3, 4, 2) ➞ 13 football_points(5, 0, 2) ➞ 15 football_points(0, 0, 1) ➞ 0 Notes Inputs will be numbers …</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Save to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/QzXtDnSZL6y4ZcEvT"><h3 class="header">Counting Farm Legs</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">For this challenge, a farmer wants your help counting up every single leg wandering around his property. He raises three kinds of animal: chickens = 2 legs cows = 4 legs pigs = 4 legs Having tallied his herd, the farmer hands you a subtotal for each species. Your job is to build a function that gives back the grand total nu …</div><div class="tags"><div class="ui small label">algorithms</div><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div></div><button class="ui fluid button" role="button"><span>SHOW MORE</span></button></div></div></div></div></main><footer id="Footer"><div class="ui container no-highlight" style="margin: 0px; padding: 0px;"><div class="ui fitted divider" style="margin-bottom: 20px;"></div><div class="ui horizontal right floated list" role="list"><a class="item fancy-link" href="/contact" role="listitem"><span>Contact</span></a><a class="item fancy-link" href="/_404.html" role="listitem" target="_blank"><span>Blog</span></a><a class="item fancy-link" href="/about" role="listitem"><span>About</span></a></div><div class="ui horizontal left floated list" role="list"><div class="disabled item" role="listitem">© 2021 Praxide, Inc</div><a class="item fancy-link" href="/docs/terms" role="listitem"><span>Terms</span></a><a class="item fancy-link" href="/docs/privacy" role="listitem"><span>Privacy</span></a><a class="item fancy-link" href="/roadmap" role="listitem"><span>Roadmap</span></a><a class="item fancy-link" href="/affiliates" role="listitem"><span>Affiliates</span></a><a class="item fancy-link" href="/help" role="listitem"><span>Help</span></a></div><div aria-expanded="false" class="ui button compact labeled upward dropdown icon" role="listbox" style="bottom: 0px; margin-bottom: 7px; min-width: 122px; position: fixed; right: 4px;" tabindex="0"><div aria-live="polite" class="text" role="alert">English</div><i aria-hidden="true" class="caret up icon"></i><div class="menu transition"><div aria-checked="true" aria-selected="true" class="active selected item" role="option" style="pointer-events: all;">English</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Español</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Français</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Deutsch</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Português</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">日本語</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">中文</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Pусский</div></div></div></div></footer><div class="s-alert-wrapper"></div></div></div><script src="/cr-site.js"></script> | |
| </body></html> |