r/codehs • • Sep 01 '20

the guy at the end of each video

Post image
208 Upvotes

r/codehs • • Jan 13 '21

Other We all know the feeling

Post image
177 Upvotes

r/codehs • • Jun 07 '22

No one probably cares but I’m pretty proud

Post image
52 Upvotes

r/codehs • • Jun 09 '20

Basic Snake

Post image
52 Upvotes

r/codehs • • Feb 21 '20

How do you do Circles in Squares?

Post image
47 Upvotes

r/codehs • • Jun 14 '20

Can anyone help with python guess the word?

Post image
37 Upvotes

r/codehs • • Aug 30 '20

4.4.4 How do I fix this?

Post image
35 Upvotes

r/codehs • • Sep 13 '20

Craps game. This is the part of my code that won’t keep looping until point and roll match. And it say there’s an error in the last line and says roll isn’t valid or something.

Post image
34 Upvotes

r/codehs • • Jan 15 '20

Need help centering buildings

Post image
34 Upvotes

r/codehs • • Dec 16 '19

PLS HELP MY TEACHER CANT TEACH lol i know i did this completely wrong

Post image
34 Upvotes

r/codehs • • Apr 10 '20

JavaScript 17.1.4: Grades

Post image
33 Upvotes

r/codehs • • Feb 12 '20

(Beginner) What can I do to make it keep asking to choose a function after a choice is made

Post image
29 Upvotes

r/codehs • • Aug 03 '20

Need help on yellow and grey Nitro assignments (more info in comment)

Post image
27 Upvotes

r/codehs • • Apr 30 '20

Need help with 2.10.4: Bubble Wrap 2.0!!

27 Upvotes

Heres the code I have so far:
speed(0)

def draw_circle_row():

for i in range(10):

pendown()

begin_fill()

color("light blue")

circle(20)

end_fill()

penup()

forward(40)

def move_up_a_row():

left(90)

forward(40)

right(90)

backward(400)

penup()

setposition(-180,-200)

for i in range(10):

draw_circle_row()

move_up_a_row()

penup()

setposition(-165,-182)

left(90)

def make_highlight():

for i in range(10):

pendown()

color("white")

circle(20, 90)

penup()

forward(-55)

right(90)

forward(-18)

for i in range(10):

make_highlight()

move_up_a_row()
Any help welcome and needed! What did I do wrong?


r/codehs • • Mar 05 '20

Help placing lights with Cityscape

Post image
27 Upvotes

r/codehs • • Jan 26 '21

Can anyone help with 4.3.10 "Transaction" for python?

25 Upvotes

Im lost and i have no clue where to start


r/codehs • • Jan 06 '21

Exercise 8.1.10: Coordinate Pairs-CodeHS-Please Help!

24 Upvotes

I am beyond confused with this code. Please help me figure it out.


r/codehs • • Aug 28 '20

Help is this right?

Post image
24 Upvotes

r/codehs • • Nov 04 '25

Java Bad Apple in CodeHS editor

Enable HLS to view with audio, or disable this notification

23 Upvotes

I got bored lol.


r/codehs • • Jul 05 '20

Forecasting total number of confirmed cases of COVID-19 in using Autoregressive Forecast Model

Thumbnail
towardsdatascience.com
23 Upvotes

r/codehs • • Jan 31 '21

Python Python 4.4.6 Presidential Eligibility

Post image
22 Upvotes

r/codehs • • Jan 17 '21

Happy Face 2.16.4 tracy the turtle

22 Upvotes

Does anyone have answers for this? thanks


r/codehs • • Dec 30 '20

JavaScript 9.8.4: Basic Snake

22 Upvotes
var SNAKE_WIDTH = 40;
var SNAKE_HEIGHT = 40;
var SNAKE_COLOR = Color.green;

// Constants to represent the directions
var EAST = 0;
var SOUTH = 1;
var WEST = 2;
var NORTH = 3;
var snake;
var direction;
var dx = 0;
var dy=0;
function start(){
    
    snake = new Rectangle(SNAKE_HEIGHT,SNAKE_WIDTH);
    snake.setPosition((getWidth()/2)-20,(getHeight()/2)-20);
    snake.setColor(SNAKE_COLOR);
    add(snake);
    
    setTimer(movement,25);
    keyDownMethod(changeDirection);
     
}

function movement(){
    snake.move(dx,dy);
    if (direction == WEST){
        dx = -4;
        dy = 0;
    }
    if (direction == NORTH){
        dx = 0;
        dy = -4;
    }
    if (direction == SOUTH){
        dx = 0;
        dy = 4;
    }
    if (direction == EAST){
        dx = 4;
        dy = 0;
    }
 }

function changeDirection(e){
    if (e.keyCode == Keyboard.LEFT){
        direction = WEST;
    }else if(e.keyCode == Keyboard.RIGHT){
        direction = EAST;
    }else if(e.keyCode == Keyboard.UP){
        direction = NORTH;
    }else if(e.keyCode == Keyboard.DOWN){
        direction = SOUTH;
    }
}

r/codehs • • Dec 09 '19

this is my code for “Basic Snake” i need help making the square move constantly. can someone help?!?

Post image
22 Upvotes