Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1.12.5 Lay Row of Tennis Balls CodeHS
function start() { while(noBallsPresent()) { putBall(); if(frontIsClear()) { move(); } } }
1.12.4 Follow The Yellow Ball Road CodeHS
// Follow the yellow ball road! // Karel moves until it’s not on a tennis ball. function start() { while(ballsPresent()) { move(); } }
1.11.5 Right Side Up CodeHS Answers
function start() { south(); west(); } function south() { if(facingSouth()) { turnRight(); } } function west() { if(facingWest()) { turnLeft(); turnLeft(); } }
1.10.5 Is There a Ball?
function start() { if(ballsPresent()) { takeBall(); } if(noBallsPresent()) { putBall(); } move(); }
1.9.8 Lots of Hurdles CodeHS Answers
function start() { for(var i = 0; i < 5; i++) { jumpHurdle(); } } function jumpHurdle() { move(); move(); turnLeft(); move(); turnRight(); move(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft(); }
1.9.7 For Loop Square CodeHS
function start() { for(var i = 0; i < 4; i++) { move(); putBall(); turnLeft(); } }
1.9.6 Dizzy Karel CodeHS Answers
function start() { for(var i = 0; i < 32; i++) { turnLeft(); } }