r/codehs • u/ava_why • Dec 09 '19
r/codehs • u/Comfortable_Regular7 • Aug 21 '22
Python I'm on apples and oranges in python and I keep getting this error. This follows the requirements exactly and I don't know why this is wrong. Please someone help me find a fix for this.
r/codehs • u/SnooKiwis3391 • Sep 08 '20
Help with 2.14.4 Geometry 2.0
I can’t figure this one out . So far I have
for I in range (6):
circle(20,360,i)
This is in Unit 2: Python 2 (Rainforest)
r/codehs • u/[deleted] • Jan 07 '21
Exercise 8.3.6: Owls
Hi! Can someone help me out with Exercise 8.3.6: Owls? I have been stuck on it forever. Thanks
r/codehs • u/KirbyFan999 • Jan 05 '21
JavaScript The rest of the pre-made code is above the code I wrote shown in the pic. Can anyone help me on what I should do to make the bricks plz?
r/codehs • u/Icy-Raise-5683 • Jan 04 '21
Help with 2.19.4: Guess a Number 2.0
heres what i have but its not asking the user more than twice:
speed(0)
pensize(10)
def green_check():
penup()
setposition(0,0)
color("green")
backward(25)
right(45)
pendown()
forward(35)
left(90)
forward(75)
def higher():
penup()
setposition(0,0)
pendown()
left(90)
forward(100)
right(145)
forward(50)
right(180)
forward(50)
left(105)
forward(50)
def lower():
penup()
setposition(0,0)
pendown()
right(90)
forward(100)
left(145)
forward(50)
left(180)
forward(50)
right(105)
forward(50)
user_number = int(input("Guess a number 1 through 10? "))
secret_number = 6
if user_number < secret_number:
higher()
user_number = int(input("Guess a number 1 through 10? "))
elif user_number == secret_number:
green_check()
else:
lower()
user_number = int(input("Guess a number 1 through 10? "))
r/codehs • u/benhackbart • Sep 18 '20
I’m almost positive the program is working as intended, however when I Test Cases, this error comes up. Any advice?
r/codehs • u/natalie710 • Feb 11 '20
Phyton - Exercise 3.5.9: Recipe
Hello,
I need help with this excessive please:
Exercise 3.5.9: Recipe (CodeHS)
Enter ingredient 1: mixed greens Ounces of mixed greens: 1.7 Enter ingredient 2: blueberries Ounces of blueberries: 2.0 Enter ingredient 3: walnuts Ounces of walnuts: 0.2 Number of servings: 3
Total ounces of mixed greens: 5.1 Total ounces of blueberries: 6.0 Total ounces of walnuts: 0.6
r/codehs • u/noah9246 • Apr 25 '21
Hello I need help with 8.2.5 spell it out and I dont know what I'm supposed to do can someone help
r/codehs • u/dcats29479 • Nov 17 '20
5.2.8 Average Test Score Help - I'm a little lost..

As you can see by the test cases, one is correct and one is not (50 and 398) for the examples when it is supposed to be (50 and 400). I am just lost on what I am doing wrong, like am I doing my math wrong? Am I doing the whole code wrong? So, that's why I just posting here since I am lost. Thanks in advance! :)
r/codehs • u/0d3stroyer • Apr 21 '20
5.2.7: School's Out
"Write a program to determine if there is no school today. First ask the user if today is a weekday, and store that in a boolean variable. Then ask the user if today is a holiday, and store that in a different boolean variable. Then try to figure out if there is no school today.
School is out if it is a holiday or if it is not a weekday
You should create a boolean variable noSchoolToday
and print its value to the user."
This is what I did:
function start(){
var weekday = readBoolean("Is today a weekday? ");
var holiday = readBoolean("Is today a holiday? ");
var noSchoolToday = holiday;
var noSchoolToday = holiday && weekday;
println("There is no school today: " + noSchoolToday);
}
This is using JavaScript btw
I'm also supposed to use the symbols "!" "&&" and "||"
How would I achieve this?


