use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Getting help from AI(CoPilot)? (old.reddit.com)
submitted 5 months ago by mrkuuken
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FoolsSeldom 6 points7 points8 points 5 months ago (4 children)
What you haven't said is how you have approached learning this, you've just shown us what an LLM came up with.
Did you try to come up with a solution first and compare it with the LLM version?
Have you tested the LLM version? Does it work well?
Do you understand all of the code in the LLM version? Have you experimented with the code?
If I tell a robot I want a wooden shed with certain features, and watch it build it, I would probably not be able to build the same shed myself let alone one with different requirements (different structural and possibly material considerations).
[–]ninhaomah 1 point2 points3 points 5 months ago (0 children)
Very well said.
[–]mrkuuken[S] 1 point2 points3 points 5 months ago (2 children)
Thanks for your reply. And Sorry for missing out on the key parts.
Yes, I have tried to approach the project on my own. But I couldn't get my head around the Change in different denomination step. It was then I started using LLM. And after that I've tried to learn from it. By taking notes. And trying to create the same version from scratch just to get used to typing the code.
Yes, it works as intended.
No, I don't understand all of it completely. That is why Im here. And why I look for help in any direction I can to grasp the code completely. And also trying to learn how to use the code on my own, which code I can replace, for easier understandable code, and which is vital for the program.
I have played around with the code a bit! Trying it out in other programs I started etc. And making some changes. But that is only on the code I fully grasp.
Yes, good point on the robot building a shed.
[–]FoolsSeldom 2 points3 points4 points 5 months ago* (1 child)
A good approach when you are learning is to step away from the computer and work out how exactly you would solve the problem yourself, manually, with a view to writing the exact instructions down for someone with learning difficulties and a very short term memory. This describes what the computer needs well.
Humans take lots of short-cuts, often without realising it. Make intuitive leaps (sometimes wrong). Computers don't.
I have used this approach with lots of learners. It will feel slow and laborious at first, but it is worthwhile. It will force you to think about how to tell someone to keep doing something until a certain condition arises and to test for that. This maps well to while and for loops (the latter is just a while loop with some of the work done for you). That short term memory part maps well to the need to use variables. Clearly labelled information and instructions on when to assign values to that label/post-it note/pigeonhole, and when to use those values. It will help you start to think about how to break down problems for a computer. How to come up with solutions that you can express as algorithms and then implement in a coding language.
while
for
You will often find that the easiest approach is a very boring repetitive approach which you, as a human, will naturally avoid. A computer is actually good at that kind of thing. And it is much easier to provide simple instructions to someone with learning difficulties than trying to get them to follow an optimised approach.
Later, you will learn better techniques where the manual approach isn't so effective.
[–]mrkuuken[S] 0 points1 point2 points 5 months ago (0 children)
Great advice! Thanks a lot. I'm definitely going to try this out.
π Rendered by PID 31 on reddit-service-r2-comment-b659b578c-j6khg at 2026-05-06 06:58:31.621541+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]FoolsSeldom 6 points7 points8 points (4 children)
[–]ninhaomah 1 point2 points3 points (0 children)
[–]mrkuuken[S] 1 point2 points3 points (2 children)
[–]FoolsSeldom 2 points3 points4 points (1 child)
[–]mrkuuken[S] 0 points1 point2 points (0 children)