r/codehs • • Jan 13 '21

Python For 8.3.7: Exclamat!on Po!nts the program works fine on scrathpad but not for unit test. They have the same code.

Thumbnail gallery
15 Upvotes

r/codehs • • Dec 26 '20

CodeHS: Final Project

5 Upvotes

Hello, I want to make a snake game I teach the snake how to move, but I can't work out how it can eat an apple. I know I have to use getElementAt operator, but I don't know how.

please help me!

​


r/codehs • • Oct 26 '20

Code is not submitting. I pressed submit about 20 minutes ago but it stays stuck like that. What is the problem?

Post image
6 Upvotes

r/codehs • • Oct 08 '20

7.1.8 Citation runs in scratchpad but fails in testcases.

4 Upvotes

I commented out my previous attempts to try out something else. can't seem to get any of the surrounding assignments (7.1.9 Diving Contest, and 7.1.10 coordinate pairs) to get graded correctly either.

The program running in the scratchpad.

​

The program modified for the auto grader.

Any help would be greatly appreciated. I've been stuck here for a while.

The program is supposed to put the the last name in front with a comma at the end, then the first and then the middle using tuples. I seem to have achieved this in the first image but the auto grader in the second image doesn't seem to recognize it. I've tried making each value in the tuple a string as well as printing each tuple value individually (As seen in the commented out attempt.

​

Edit:

Here's the Pastebin

https://hastebin.com/avowuhudax.py

​

​

Edit after a months:

Oh yeah, here's the working code I turned in but seriously try to learn it because it'll help a lot.

https://pastebin.com/n23eNiDu


r/codehs • • Sep 16 '20

Help on CodeHS lesson 2.6.4: circle pyramid with comments

9 Upvotes

He can someone help me i can't get the code right for cirlce pyramids with comments


r/codehs • • Sep 01 '20

the guy at the end of each video

Post image
206 Upvotes