I initially approached the problem using my own thought process, but after getting stuck, I referred back to the website code. Once I saw the provided code and its logic, I understood why it was written that way. However, I don’t feel confident that I could write the same code on my own if I encountered a similar problem in the future.
I used AI to help me finish the codes cause I don't want to stuck on it too much. I think I need to discuss with my group to better understand the codes.
Another challenge I faced is that, unlike a drawing project where you can try things step by step and get immediate visual feedback to identify mistakes, this task requires completing everything before checking if it works. This makes me feel less confident because I don’t get direct feedback during the process.
I'm wondering how AI could help in coding for new learners.
The first several one went very well, I also enjoy solving the problems.
I was stuck with 6 a bit, trying to understand the meaning of it.
I took longer time on the last two tasks, my initial plan is to redefine [x,y] = value, then let it return x
Then I found that there was a problem of return a list, i asked ChatGpt's help when I was stuck on it
it gave me a great suggestions on how to fix it. It also provides a much concise way to solve the problem: return [point[0] for point in points]
I thinl the thinking way is different especially for 6. I also think the concise coding might be better to adpot in the future
Your questions make me think about the step i wrote, I just say put [x,y] in it without starting from specific point.
I guess I should start from x=14, then run x=14+n for the left spots. In that way, I could draw a lot until x= 492
there are two issues I had: 1. the gap between numbers on x-axis and y-axis are different, will this affect the length of segment?
2. I also found that when x=492, y has two points. Not sure how to represent that.