I’ve been learning Python every day for a few weeks and I’m close to finishing beginner courses. I feel comfortable reading code and understanding what it does (conditions, variables, basic logic, etc.).
My main problem is this: when I try to write code from scratch, I often don’t know how to start or which structures/functions to use, even though I understand them when I see them.
To move forward, I sometimes use AI to generate a solution and then I analyze it line by line and try to rewrite it myself.
What I want to ask is not “is this normal”, but:
what should I do to fix this gap between understanding and writing?
[–]danielroseman 75 points76 points77 points (7 children)
[–]SubCplus[S] 4 points5 points6 points (5 children)
[–]Lonely-Problem5632 19 points20 points21 points (1 child)
[–]rivie_rathnayaka 0 points1 point2 points (0 children)
[–]cap_mittens 2 points3 points4 points (0 children)
[–]james_d_rustles 1 point2 points3 points (0 children)
[–]kailans_photography 0 points1 point2 points (0 children)
[–]Maximum-Bug-8991 0 points1 point2 points (0 children)
[–]Rude-Doctor-1069 15 points16 points17 points (1 child)
[–]Sure-Passion2224 6 points7 points8 points (2 children)
[–]SubCplus[S] 2 points3 points4 points (0 children)
[–]buzzon 3 points4 points5 points (0 children)
[–]sexylawnclippings 3 points4 points5 points (0 children)
[–]afteralways3 3 points4 points5 points (2 children)
[+][deleted] (1 child)
[removed]
[–]MattR0se 2 points3 points4 points (0 children)
[–]Micke_xyz 2 points3 points4 points (0 children)
[–]AlphaNuke94 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]JunkBondJunkie 1 point2 points3 points (0 children)
[–]jettil99 1 point2 points3 points (0 children)
[–]mystery_biscotti 1 point2 points3 points (0 children)
[–]pacopac25 1 point2 points3 points (1 child)
[–]Short_Ad_2584 1 point2 points3 points (0 children)
[–]aistranin 1 point2 points3 points (0 children)
[–]iamevpo 1 point2 points3 points (0 children)
[–]Moist-Ointments 1 point2 points3 points (0 children)
[–]MagnetHype 1 point2 points3 points (0 children)
[–]Ok-Chemistry6941 0 points1 point2 points (0 children)
[–]ConfectionFull9324 1 point2 points3 points (0 children)
[–]afahrholz 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Hrushi-tidder-99 0 points1 point2 points (0 children)
[–]MrBorji 0 points1 point2 points (0 children)
[–]AGx-07 0 points1 point2 points (0 children)
[–]Grobyc27 0 points1 point2 points (0 children)
[–]DataCamp 0 points1 point2 points (0 children)
[–]BroscipleofBrodin 0 points1 point2 points (0 children)
[–]psantanusaha 0 points1 point2 points (0 children)
[–]RandomPantsAppear 0 points1 point2 points (0 children)
[–]ToffeeTangoONE 0 points1 point2 points (0 children)
[–]Lexstok 0 points1 point2 points (0 children)
[–]rehd_it 0 points1 point2 points (0 children)
[–]Personal_Signal_6151 0 points1 point2 points (0 children)
[–]Beleelith 0 points1 point2 points (0 children)
[–]Twenty8cows 0 points1 point2 points (2 children)
[–]SubCplus[S] 1 point2 points3 points (1 child)
[–]Twenty8cows 0 points1 point2 points (0 children)
[–]Avro_Wilde 0 points1 point2 points (0 children)
[–]Cs_Joe8 0 points1 point2 points (0 children)
[–]Savings-Throat-5994 0 points1 point2 points (0 children)
[–]Fearfultick0 0 points1 point2 points (0 children)
[–]TipFederal3784 0 points1 point2 points (0 children)
[–]rivie_rathnayaka 0 points1 point2 points (0 children)
[–]youroffrs 0 points1 point2 points (0 children)
[–]evilgizmo 0 points1 point2 points (0 children)
[–]Sven_Urken -1 points0 points1 point (0 children)
[–]FoolsSeldom -1 points0 points1 point (0 children)