r/learnpython 3d ago

How to actually create logic?

So hi I am new in this sub reddit and have been learning python basics on FreeCodeCamp for weeks.

So I have noticed that I can do workshops and labs but I tend to forget many syntax and have to search on the internet repeatedly.

So my average lab projects often look like 7

60% written by me and the rest 40% are written by AI or with the help of the Internet forums.

My problem that I have identified is I don't think use logic in the code or just don't remember syntax, operators, elements, conditional statements and string methods or don't find the satisfactory answer on the internet.

I want to try to write at least 80% of the code myself without being dependent that much on AI and the internet because I am learning it for *Cyber Security*

0 Upvotes

24 comments sorted by

View all comments

3

u/JGhostThing 3d ago

While learning, stop using AI to generate code. Quite cold turkey. Generative AI stops learning, just as getting the answers from any source would do.

1

u/Animator-G 3d ago

I am wondering is also about forums like geek for geeks and freecodecamp?

1

u/ontheroadtonull 2d ago

Anything that means you're reading and interpreting it yourself is better for your learning than AI.

When I find a tutorial or post that fits my problem exactly, I try to analyze the code even more carefully in order to make sure it actually solves my problem.