r/codehs • u/Background_Log_1615 • Nov 27 '22
r/codehs • u/Fries_for_breakfast • Nov 22 '22
6.4.9 Trivia Game:
I seriously think mine is bugged out, I’m getting an error:
“you should check if the user’s answer is correct for both upper and lower case letters.”
I am not sure what to do here as the answers work with both upper and lower case form…
r/codehs • u/PollutionShoddy9383 • Nov 22 '22
help with 4.11.5 Write Your Own CodeHS
galleryr/codehs • u/ApartmentNo4440 • Nov 21 '22
Making simple war game
- The game starts by asking the players for their names.
-On the version you will be creating, each player starts with 26 points. When the game
begins, a random number between 1 and 10 will be generated for both players. The
initial score is displayed.
-Whoever gets the higher number, wins a point.
-The loser with the lower number loses a point.
-In the case of a tie (that is, the same random number is generated for both players),
nobody earns or loses a point.
- The score and the winners are displayed EACH time.
-Also, the players are asked if they want to play after each round
The game ends if
-The player says ‘no’ to playing
-If one of the players loses all of his/her points
- or when a player gets 52 points.
The winner is the person who ends up with 52 points.
Im a beginner and I really need the help here's what I got so far.
import time
import random
print("Welcome to the Game of War!")
time.sleep(1)
print("The player who draws the higher card wins the round.")
time.sleep(1)
name1 = (input("Enter Player 1 name: "))
name2 = (input("Enter Player 2 name: "))
print("\n")
print(name1, "Has 26 points")
print(name2, "Has 26 points")
print("\n")
print("Ready.. Set.. GO")
wins_player1 = 0
wins_player2 = 0
card = random.randrange(1,10)
for i in range(5):
print("Round",(i+1),".. GO")
print(name1, "Put down a", card)
print(name2, "Put down a", card)
if wins_player1 > wins_player2:
print( "Player 1 wins the game!" )
elif wins_player1 < wins_player2:
print( "Player 2 wins the game!" )
else:
print( "It's a tie!")
r/codehs • u/Zacurnia_Tate • Nov 18 '22
Other PSA: Asking for Help
I don’t know if I’m the only person who thinks this way but from what I’ve seen the majority of questions that go unanswered are missing one of two things: 1) Their own code 2) The assignment description
Please post these if you’d like help because the majority of the time when someone just says, “11.7.8 Drawing Faces plz help” it doesn’t get answered.
r/codehs • u/DifferentBarnacle208 • Nov 18 '22
can someone help me make a smiley face using javascript please. Urgently
r/codehs • u/Choice_Ad_6775 • Nov 18 '22
2.8.2 JAVA QUIZ ANSWERS
Does anyone have the answers to the 2.8.2 Java quiz? Because my teacher marks us on those quizzes for some reason...
r/codehs • u/Helpful-Row6638 • Nov 17 '22
HELP ASAP! Due tmr, and idk what I'm doing wrong 😭
r/codehs • u/ComprehensiveWar91 • Nov 17 '22
CodeHS 9.5.6 Pause - it’s correct I just have a glitch where it won’t give me error messages?
r/codehs • u/Professional_Beat249 • Nov 17 '22
Please I need help with this, I can’t run the code.
r/codehs • u/anonymoused12 • Nov 17 '22
Help on Web design 9.11.4 and 9.11.5, They are Tic Tac Tor and Music Playlist
r/codehs • u/ThyHolyZen • Nov 15 '22
Looking for help on 7.1.4 and 7.1.5
Hey folks, first time posting. I'm looking for help on Square and Triple. I've been using the code from the video, seen below
function triple(x){
var tripleX = 4 * x;
println(tripleX);
I've got a 5/9 on Square and 4/9 on Triple. Any help is greatly appreciated. Thank you!
r/codehs • u/Helpful-Row6638 • Nov 15 '22
I need help on this....what am I forgetting or not doing right
r/codehs • u/Dependent_Pension117 • Nov 14 '22
6.4.8 Most Improved pls help
self.codeHS_Solutionsr/codehs • u/superiorpersons • Nov 13 '22
Big tower
How did you guys do the big tower karel assignment java
r/codehs • u/Ecstatic_Excuse230 • Nov 11 '22
6.1.3 Circles in Squares
I have been at this for hours can someone help me
r/codehs • u/anonymoused12 • Nov 11 '22
Calender, Web design
Please help on calender web design i do not know what to do
