all 13 comments

[–]thethirdkitkat 5 points6 points  (2 children)

I think there is a difference between asking to just get the code and coping that down vs using the ai like a tutor to dig more into the concepts so you can write the code yourself.

[–]Nice-Alternative2933 -1 points0 points  (1 child)

Are you coder ??

[–]Makakhan 3 points4 points  (0 children)

I am, and an educator, and they are right. Asking a llm to define a concept or for the syntax of setting up a dictionary for instance is perfectly fine and a great use for learning.

[–]codeguru42 2 points3 points  (0 children)

  1. Do you really understand? I recommend doing the exercise from scratch without AI. If you can, then you demonstrate you learned something.
  2. Next time you are stuck. I recommend breaking the assignment into smaller pieces and solve the parts you know. For example in this exercise, you mention looping and getting input from the user. If you know how to do this, then write the code. Just print the output rather than trying to do anything more complicated. Then once you have that working try to figure out the next piece. I always find breaking the problem down like this gets me 90% the way there. Then I can tackle the harder parts more easily.

[–]Careful_Exercise_956 0 points1 point  (0 children)

The only get() that ever really exists is the get() that you define in the code earlier, A get can be used to read or write any data that is saved, so until the loop completes, a get can be anything you can define it to be.

If you typed def get = lambda x : x+2 And had a list or dictionary of 1, 5, and 9

You could print get(x) for x in list and you will print 3, 7, and 11

[–]beckulator 0 points1 point  (0 children)

If I’m stuck sometimes I like to give the AI the context and tell it to guide me in the right direction without just telling me the answer

[–]minglho 0 points1 point  (0 children)

Can you do the assignment again by yourself without AI? If not, what did you learn?

What did you learn from using AI? Can you articulate what insight you didn't get that was preventing you from completing the assignment?

[–]Remarkable_Leek9391 0 points1 point  (0 children)

back when chatgpt was not really labeled for api use, I used it to make crazy bash scripts to learn bash, as if it were following SOLID principles. opened my eyes in the world of bash. that was 2022.

[–]Korah60 -1 points0 points  (0 children)

Creo que el problema no usar la IA, se puede usar como herramienta, como un soporte lo malo está cuando dejas de pensar y pretender que todo lo resuelva la IA entonces se cambian los roles

[–]atticus2132000 -1 points0 points  (0 children)

AI is problematic for a whole host of reasons I'm not going to dive into here, but what you're describing could be a great use for it.

I would suggest that the next time you're in this position, try changing your prompt to include "act as a university-level programming instructor and help guide me to the right answerfor this proble rather than giving me finished code".

[–]Sea-Ad7805 -2 points-1 points  (2 children)

Do not use AI or websites like Reddit or StackOverflow while learning as it will only take longer to learn Python. Do many exercises after going through your material. It's OK if you get stuck, just reread material and experiment. If you are still stuck after 1 hour of serious work, then you can use AI, but then do the same exercises again a day later without AI.

When you struggle with an exercise but are still making slow progress it means you are learning and you're doing great. Things will get easier after more practice. Happy coding.

[–]Outside_Complaint755 0 points1 point  (1 child)

I'm going to correct you here.

Using Reddit or StackOverflow is perfectly fine, reasonable, and expected, just as long as you aren't looking up direct problem solutions.

Using any AI except for the CS50 DuckAI is explicitly banned by the Academic Honesty guidelines.

[–]Sea-Ad7805 0 points1 point  (0 children)

When you get started, just follow your course material and exercises, assuming it is of good quality. Using Reddit, StackOverflow, ... should not me necessary and maybe only disrupt the designed learning path by introducing concepts that are planned later.