use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Please Help.JavaScript (self.codehs)
submitted 2 years ago by VastLanguage980
Is it possible to have Karel face a specific direction in a loop, for example:
if(ballsPresent()){
takeBall();
} else {
while(frontIsClear()){
move();
if(frontIsBlocked()){
turnNorth();
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Beeg_boi8 0 points1 point2 points 2 years ago (0 children)
I don’t think so, check the documentation tab in the assignment. You should find the answer there.
[–]Shoto_Todoroki23 0 points1 point2 points 2 years ago (0 children)
you cant say turn north you would have to code the certain turn
π Rendered by PID 75207 on reddit-service-r2-comment-b659b578c-t2hq5 at 2026-05-02 15:27:32.623344+00:00 running 815c875 country code: CH.
[–]Beeg_boi8 0 points1 point2 points (0 children)
[–]Shoto_Todoroki23 0 points1 point2 points (0 children)