VoyagerXHF's picture
Upload folder using huggingface_hub (part 55)
16a5250 verified
Raw History Blame Contribute Delete
84.8 kB
<!DOCTYPE html>
<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>3,000+ Ruby Coding 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 Ruby skills with fun, bite-sized exercises. Earn XP, unlock badges and level up as you go. Practice makes progress, one puzzle at a time." 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!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important;caret-color:transparent!important}</style></head>
<body>
<iframe aria-hidden="true" id="_hjSafeContext_55309804" src="/challenges/ruby/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">Ruby</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="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Python</div><div aria-checked="true" aria-selected="true" class="active selected 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 complete</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">WATCH 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">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/RugMPn3chRq32rTK9"><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 work. In the Code tab you'll find a starter function that looks like this: def hello() end All you need to do is type return "hello praxide.com" on the second line and then click the Check button. When you get it right, the button will turn red and read SUBMIT FINAL. Cl …</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">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/yb9ivQL6NHTbp9SyH"><h3 class="header">Return the Number Right After the Integer Given</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that receives a number as its argument, bumps that number up by +1 and returns the new value. Examples addition(0) ➞ 1 addition(9) ➞ 10 addition(-3) ➞ -2 Notes Remember to return your result. Stuck on a challenge? Find hints in the Resources tab. If you're truly stuck, unlock answers 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">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/5kBJ65NLF6Bph6FXo"><h3 class="header">Return the Total of Two Numbers</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that receives two numbers as its arguments and returns their total. Examples addition(3, 2) ➞ 5 addition(-3, -6) ➞ -9 addition(7, 3) ➞ 10 Notes Remember to return your result. If a challenge trips you up, find hints in the Resources tab. If you're truly stuck, unlock answers 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">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/kdL6aLpgqomozZxb8"><h3 class="header">Turn Minutes into Seconds</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives a whole number of minutes and returns the equivalent count in seconds. Examples convert(5) ➞ 300 convert(3) ➞ 180 convert(2) ➞ 120 Notes Remember to send back your answer. Feeling stuck on this one? Grab a hint from the Resources tab. Truly 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/D8C4E74i37zSt8SzQ"><h3 class="header">Fetch the First Element of an Array</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives an array made up entirely of numbers and hands back its very first element. Examples getfirstvalue([1, 2, 3]) ➞ 1 getfirstvalue([80, 5, 100]) ➞ 80 getfirstvalue([-500, 0, 50]) ➞ -500 Notes The opening element of any array always sits at index 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">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/JKEzNHZgRoz2Jv7oy"><h3 class="header">Is the Value Less than or Equal to Zero?</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function whose single argument is a number and that gives back true when the value is less than or equal to zero, and false in every other case. Examples lessthanorequalto_zero(5) ➞ false lessthanorequalto_zero(0) ➞ true lessthanorequalto_zero(-2) ➞ true Notes Remember to send back your answer. Feeling stuck on this cha …</div><div class="tags"><div class="ui small label">conditions</div><div class="ui small label">language_fundamentals</div><div class="ui small label">validation</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/sDTLJtdpSvkZY6kjy"><h3 class="header">Turn an Age into Days</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives an age measured in years and returns that same age counted in days. Examples calc_age(65) ➞ 23725 calc_age(0) ➞ 0 calc_age(20) ➞ 7300 Notes Treat every year as exactly 365 days for this task. Skip leap years and any days between the last birthday and today. Assume only positive integer inputs.</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">Add to collection</div></div></div></div><a class="content" href="/challenge/PfLPXg8yFiE7T92i4"><h3 class="header">Fix the Broken Code</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Repair the code in the code tab so it clears this challenge (the only issues are syntax errors). Study the examples below to understand what the function is meant to accomplish. Examples squared(5) ➞ 25 squared(9) ➞ 81 squared(100) ➞ 10000 Notes READ EVERY WORD CAREFULLY, CHARACTER BY CHARACTER! Don't overthink this one; it isn't meant to be …</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">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/XbEHoTtE28BpnJFeS"><h3 class="header">Area of Any Triangle</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 returns the area of that triangle. Examples tri_area(3, 2) ➞ 3 tri_area(7, 4) ➞ 14 tri_area(10, 10) ➞ 50 Notes The area of a triangle equals: (base * height) / 2 Remember to send back your answer. Feeling stuck on this challenge? Grab a hint in the Resources …</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">Save to collection</div></div></div></div><a class="content" href="/challenge/tnhw6pvM5sT7n2crv"><h3 class="header">Compute the Power</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives a voltage and a current, then returns the power it produces. Examples circuit_power(230, 10) ➞ 2300 circuit_power(110, 3) ➞ 330 circuit_power(480, 20) ➞ 9600 Notes Needs a little basic electrical circuit math (peek at Resources if you need a refresher).</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 favorites</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/rzouSBHoZQ9XjdR4k"><h3 class="header">Return Me Something!</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that glues the string "something" to the given argument a with a single space " " sitting in between. Examples givemesomething("is better than nothing") ➞ "something is better than nothing" givemesomething("Bob Jane") ➞ "something Bob Jane" givemesomething("something") ➞ "something something" Notes You can assume an input is always provided.</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">Add to favorites</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/ueoCG46zDh8WZF53b"><h3 class="header">Longest Side of a Triangle</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Create a function that works out the largest possible length for a triangle's third edge, given that all of the side lengths are integers. 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 favorites</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/MnqxydpcA8K22tTss"><h3 class="header">Change Hours into Seconds</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that turns a number of hours into the matching number of seconds. Examples howmanyseconds(2) ➞ 7200 howmanyseconds(10) ➞ 36000 howmanyseconds(24) ➞ 86400 Notes 60 seconds in a minute, 60 minutes in an hour Don't forget 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 favorites</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/8XcJiiJv2nAHsPWoj"><h3 class="header">Grab the Final Item in an Array</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Create a function that takes an array and hands back the very last item sitting inside it. The array may be homogeneous or heterogeneous. Examples getlastitem([1, 2, 3]) ➞ 3 getlastitem(["cat", "dog", "duck"]) ➞ "duck" getlastitem([true, false, true]) ➞ true getlastitem([7, "String", false]) ➞ false Notes Don't forget to r …</div><div class="tags"><div class="ui small label">arrays</div><div class="ui small label">language_fundamentals</div><div class="ui small label">validation</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 favorites</div><div aria-disabled="true" class="disabled item" role="option">Save to collection</div></div></div></div><a class="content" href="/challenge/ePm9Nvkme8yYfGswY"><h3 class="header">Match Point Tally</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Create a function that takes the count of wins, draws and losses and works out how many points a football team has piled 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/ptNiEfNg3wejLroNj"><h3 class="header">Chaining the "&amp;&amp;" Operator</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">In Ruby, the logical operator &amp;&amp; (which you can also spell out as and) joins two conditions together. Give &amp;&amp; two boolean values and it hands back true only when both of them are true. Picture a &amp;&amp; b: first a is tested to see if it is true or false. If a is false, then false is returned. Next b is tested. If b is false, then false is returned. Otherwise, tru …</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">logic</div><div class="ui small label">validation</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/KQ64xseukeew4ZTg5"><h3 class="header">Basketball Scoring</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Keep score for a basketball match: given how many 3-pointers were made and how many 2-pointers were made, work out the team's final total and return that value (2-pointers scored, 3-pointers scored). Examples points(1, 1) ➞ 5 points(7, 5) ➞ 29 points(38, 8) ➞ 100 Notes If you ever feel stuck on a challenge, look for a hint in …</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">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/gkfLf76t4ddWMeLy8"><h3 class="header">Raise It to the Power</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that receives a base number and an exponent number, then hands back the finished 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 you feel stuck on a challenge …</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/mQsHPtQbxhRsKjRwb"><h3 class="header">Join First and Last Name into a Single String</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">You are handed two strings, firstname and lastname; give back one combined string shaped like "last, first". Examples concat_name("First", "Last") ➞ "Last, First" concat_name("John", "Doe") ➞ "Doe, John" concat_name("Mary", "Jane") ➞ "Jane, Mary" Notes Remember to return your result. If you get stuck on a challenge, look for help in th …</div><div class="tags"><div class="ui small label">formatting</div><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">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/M8ADkDJ3R5cQChWCe"><h3 class="header">Do the Numbers Match?</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that gives back true whenever num1 is equal to num2, and returns false in every other case. Examples issamenum(4, 8) ➞ false issamenum(2, 2) ➞ true issamenum(2, "2") ➞ false Notes Remember to return your result.</div><div class="tags"><div class="ui small label">conditions</div><div class="ui small label">language_fundamentals</div><div class="ui small label">numbers</div><div class="ui small label">validation</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>