Home / Explore / Programming with Karel the Dog CodeHS

Programming with Karel the Dog CodeHS

View Details

Get started learning how to program with CodeHS. This pathway is for complete beginners so if you are curious how to build things with computers, or want to make a game, or a website, this is the place to get started! 

Share this challenge.

Badges you can earn for this challenge


Activity Directions


100 Level - No experience necessary

Karel starts at 1st street and 1st avenue next to a pile of tennis balls that will be at 1st street and 2nd avenue. Karel doesn't know how many balls there are, but Karel must double the number of tennis balls in that spot. For example, if there are 3 balls there at the beginning, there should be 6 there after running this program.

Upload a URL of your solution.

Enter Your Submission

Past Submissions

Got it!

Here's what happens next:

An Assessor Will:
  • Review your submission
  • Provide feedback within 2-3 days
  • Accept your submission or ask you to make changes
Powered By: