The course's Piazza message forum is meant to be a place where you can ask questions and get help. We are delighted to answer your questions on that board, 7 days a week. But we also want to make sure our course policies are followed by students using that board.
Please do NOT post the code to solve a homework assignment (in whole or in part) on the class discussion board, ever, for any reason. This includes posting partial code in progress in order to ask what is wrong with it. Also please do not provide highly detailed English descriptions of your solution to an assignment, such as describing exactly what methods, parameters, and loops you used to solve it. It is, however, acceptable and encouraged to discuss homework ideas in general terms.
If you do post solution code, this can be considered a violation of the Stanford Honor Code and may lead to consequences as outlined by that policy. If you need help on your program, please seek other means of help rather than posting your code. For example, if you want to show your code to your section leader or instructor, please bring it to them in person, to their office/LaIR hours, or email it (if you have their permission) instead.
If you want to ask a code-related question, consider asking about a non-homework piece of code, such as a lecture example or example from the textbook. You may post any code you like as long as it is not part of a homework assignment solution. So find a similar example and ask questions about it instead.