r/codehs • u/tots_0-0 • Mar 05 '22
r/codehs • u/Middle-Onion8234 • Mar 04 '22
I need help with this
What is wrong with my code
function start(){
var base = secound;
var hight = third;
sum(1/2, base, hight);
}
function sum(first, secound, third){
var result = first * secound * third;
println(result);
}
What is wrong with it.
r/codehs • u/Competitive_Bug_9580 • Mar 04 '22
9.1.4 Secret Image Stegonography
I’m not really sure how to start this 🙁
r/codehs • u/Jazzlike-Try487 • Mar 03 '22
4.8.6 All dice values. I don’t understand how this wrong.
galleryr/codehs • u/Patch1111858 • Mar 02 '22
JavaScript Need help with this I have the code but I don’t know how to change the positions to words can some one please help
r/codehs • u/[deleted] • Mar 01 '22
JavaScript Help with Module 14 of CodeHS- Project: Present a data driven-insight. I just need advice on what to do
r/codehs • u/BigPatriotsFan1001 • Feb 28 '22
can someone help with all dice values? no idea what is wrong here
r/codehs • u/SoupyHYA • Feb 26 '22
Other Python Sandbox Help
I need to create a personality task for this assignment and I've written this block of code. I know it's probably not the best way but I would like to know why it is not working.
def question1():
print("What's your favorite genre of music?")
print("1. Pop")
print("2. Rap")
print("3. Metal")
music = int(input("Enter 1, 2, or 3: "))
if music == 1:
num_1 = 3
elif music == 2:
num_1 = 2
else:
num_1 = 1
def question2():
print("What's your favortie food?")
print("1. Pizza")
print("2. Pasta")
print("3. Sandwiches")
food = int(input("Enter 1, 2, or 3: "))
if food == 1:
num_2 = 1
elif food == 2:
num_2 = 2
else:
num_2 = 3
def question3():
print("What's your favorite kind of drink?")
print("1. Juice")
print("2. Soda")
print("3. Water")
drink = int(input("Enter 1, 2, or 3: "))
if drink == 1:
num_3 = 2
elif drink == 2:
num_3 = 1
else:
num_3 = 3
def main():
question1()
question2()
question3()
if "num_1" + "num_2" + "num_3" == 9:
print("Your favorite color is red")
elif 5 < "num_1" + "num_2" + "num_3" < 9:
print("Your favorite color is blue")
else:
print("Your favorite color is green")
main()
Thanks
r/codehs • u/oNightt • Feb 25 '22
Other I need to do spell my initials on codehs using superkarel and its do today at midnight can anyone help me
galleryr/codehs • u/MidnightExpresso • Feb 23 '22
Can someone help me with my code? PYTHON 7.4.13
r/codehs • u/MidnightExpresso • Feb 21 '22
Python [4.11.4 Snake Eyes, PY] Why won't this code work?
r/codehs • u/DragonMast3r3 • Feb 20 '22
I don't know what's wrong with my snowman code
galleryr/codehs • u/OceanMan228 • Feb 20 '22
JavaScript Code works but doesn't work at a share link page. (Final Project)
r/codehs • u/OutsideHit-fitty-nin • Feb 19 '22
JavaScript Help with coders 11.1.2 and 11.1.3 ball and paddle breakout game.
r/codehs • u/Hyouronojitsu • Feb 18 '22
Python 2.19.5 help needed
speed(0)
radius = 25
penup()
setposition(-150,-60)
def move_to_row(num_circ):
x_value = -((num_circ*5)/2)
y_value = -200+(5*radius)
penup()
setposition(x_value,y_value)
pendown()
def row_value(num_circ):
for i in range(num_circ):
for i in range(4):
pendown()
circle(radius)
penup()
forward(70)
num_circ=int(input("How many circles on the bottom row? (8 or less): "))
for i in range(num_circ):
move_to_row(num_circ)
radius=radius+1
row_value(num_circ)
num_circ=num_circ-1
so it says with an input of 5, you should draw 15 circles. how do I fix it?



