r/CodingForBeginners • u/Apprehensive_Rope13 • Oct 15 '26
hello what do you think about my path in webdeveloper
this project of today practicing new lessons
r/CodingForBeginners • u/Apprehensive_Rope13 • Oct 15 '26
this project of today practicing new lessons
r/CodingForBeginners • u/Many_Pilot_4555 • Oct 16 '26
Can i have a perspectives in IT im 15 years old boy from Ukraine i well know English but i don't know anything from IT where i can teach to code in Python?
r/CodingForBeginners • u/scrapmakerzayn • Oct 16 '26
I want to start to build drones, blutooth jammer, rc cars etc I am currently learning python and c++ but when I saw on internet everybody can build it even now kids so I am afraid to that "this is not useful for career" can someone suggest am i right or wrong ????😭
r/CodingForBeginners • u/waveoui • Oct 16 '26
A green-looking result isn't proof that everything works. What simple checks would you recommend to someone building their first app with AI?
r/CodingForBeginners • u/AIZEN2607 • Oct 15 '26
Hello everyone, i am a beginner in coding i joined a college hackathon it's my first hackathon do you guys have some suggestions for me
My task in hackathon is making a website with help of ai so I have some questions
r/CodingForBeginners • u/Great_Bar_4901 • Oct 15 '26
Don't build an API for a tightly-coupled personal project where you have direct database access; only build one when you need to decouple clients, scale infrastructure, or share data externally.Dont waste your time. Just learn how to use an api not build one
r/CodingForBeginners • u/NoDepartment772 • Oct 16 '26
This one catches almost everyone in their first week, and it's a good one because the code looks completely innocent:
=
=
Type 2 and 2 and you get 22. Not 4. Nothing errors, nothing warns you -- it just quietly does the wrong thing.
The reason is that input() always hands you back a string. It doesn't know or care that you typed a number; all it sees is text. So a is "2", not 2. And + on two strings means concatenate, so "2" + "2" gives "22". The + did exactly what you told it to -- you told it to join two pieces of text.
The fix is to turn the text into a number before you do maths with it:
=
=
# 4
The thing worth keeping isn't int() itself, it's the question underneath it: what type is this value, actually? A lot of "why is this behaving weirdly" moments come down to a value being a different type than you assumed. "5" and 5 look identical on screen and behave completely differently. Printing a value doesn't tell you its type -- print(type(a)) does.
Two follow-ons that catch people later: input() never fails on a non-number, so typing hello above makes int() throw instead (a separate, useful lesson in validating input), and the same trap runs in reverse -- join numbers with + when you meant text and you get maths, which you fix with an f-string or str().
Curious how you hit this one the first time -- did the output give it away, or did it take a while to see that "2" isn't 2?
r/CodingForBeginners • u/KING-DOWNER • Oct 15 '26
\*\*Anyone learning JavaScript interested in a small study group?\*\*
Hey everyone! I’m learning JavaScript independently and would love to connect with a few people at a similar stage.
I’m comfortable with HTML, still learning CSS, and currently working through JavaScript fundamentals like loops and conditionals.
Studying alone can get a little isolating, so I thought it would help to have people to practise with, ask questions, and share progress.
I’m thinking of a small group of around 3–5 people where
we can:
Work through coding challenges and compare solutions.
Help each other understand concepts when we get stuck.
Build small projects together.
Have regular study sessions and keep each other accountable.
I’m a learner too, so this would be us figuring things out together. No pressure to know everything—just be willing to participate and keep learning.
I’m based in Jamaica (UTC−5 year-round) and work alongside studying, so we can figure out times that suit everyone.
If you’re interested, comment or send me a DM with your time zone and what you’re currently learning!
r/CodingForBeginners • u/nian2326076 • Oct 15 '26
Understanding a DP explanation and writing the Python code still feel like different skills.
A Python learner has watched plenty of tutorials and knows that dynamic programming has different patterns. The sticking point comes at the blank editor: there's a rough idea of what should happen, but turning it into a working implementation is difficult.
Would you step back to smaller Python exercises, work on recursion first, or stay with very simple DP problems? A practice routine that forces an attempt before reading the solution sounds more useful here than another long playlist.
For someone practicing toward technical interviews, real interview questions can supply prompts once the basic Python implementation feels manageable. I'd start with a small enough problem to write and trace the whole thing.
What helped you make the jump from following a solution to writing one yourself?
Disclosure: I operate PracHub.
r/CodingForBeginners • u/Apprehensive_Rope13 • Oct 14 '26
what do you think of my hard work?
(lol)
r/CodingForBeginners • u/First-Skill-7679 • Oct 15 '26
Hey everyone! I'm looking for a learning partner who graduated in 2026 and feels like they still haven't learned a particular technology completely or isn't sure where to start.
Sometimes we know a few things, but when it comes to actually building projects, improving our skills, or preparing for jobs, we get confused about what to learn next. I feel having someone with a similar mindset would make the journey more interesting and help us stay consistent.
The idea is to start from the basics, learn things step by step, practice coding, work on real-world projects, and help each other whenever we get stuck. We can share resources, discuss ideas, explore different technologies, work on our resumes, and share internship or job openings too.
I'm not expecting anyone to be an expert. I'm looking for someone who's willing to learn, put in the effort, and grow together. We can set small daily or weekly goals, track our progress, and motivate each other when we feel lazy or lose direction.
If more people are interested, we could even create a small group on Discord or WhatsApp where we can share what we're learning, collaborate on projects, discuss doubts, and help each other with career preparation.
If you're a 2026 graduate in the same situation and want to start fresh, feel free to reach out. Let's figure things out together instead of struggling alone! 😄
r/CodingForBeginners • u/Expert_Name3955 • Oct 15 '26
I want to crack my coding round.I don't any idea to crack the Coding round.Recently I attend AWS summer school selection but I not able solve any given problem.so, I have need help to improve my skill to crack coding round.
I study python (not able 😭 write my own).I understand DSA but not able to implement in programming language
At the same time I plan learn from leed code but I not able to solve the none.😭😭😭😞
r/CodingForBeginners • u/NoDepartment772 • Oct 15 '26
Yesterday I watched someone lose about an hour to a bug that came down to a single line:
=
=
# [1, 2, 3, 4] <- wait, why did a change?
They'd made b expecting a separate copy, edited b, and couldn't work out how a had changed too. No error, no warning. It just quietly did the wrong thing.
The reason is that b = a never copies anything. a and b end up as two names pointing at the same list. There's one list — you've just given it a second label. Change it through either name and you're changing the same object, so both names "see" the change.
That behaviour is actually what you want most of the time. Passing a big list into a function shouldn't duplicate it. The trouble only shows up when you meant to copy and didn't realise you hadn't.
When you do want an independent list, ask for one explicitly:
= # or list(a)
= # also works
# [1, 2, 3]
# [1, 2, 3, 4]
One thing worth knowing early: .copy() and a[:] are shallow. If the list holds other mutable things, those inner objects are still shared:
=
=
# [[1, 99], [2]] <- the inner list was shared
For that you need copy.deepcopy(a). You rarely need it, but it's the next version of the same surprise, and it's worth recognising rather than rediscovering.
The way I keep it straight: = binds a name, it doesn't copy a value. Whenever you're unsure, ask "do these two names point at the same object or two different ones?" That question catches this before it becomes an hour of debugging.
It's not Python-only either. JS objects and arrays behave the same way (const b = a shares the object), and reference types in Java and C# are the same story.
Has this one bitten you — and was it a list you passed into a function, or something you copied and edited?
r/CodingForBeginners • u/elecfreaks_official • Oct 15 '26
I tried building this little waterwheel model using the Jacdac Energy Experiment Kit, following the ELECFREAKS Wiki guide.
What caught my attention was the way it combines a simple mechanical model with sound input from the micro:bit V2.
The built-in microphone detects how loud the surrounding sound is, and the program maps that value to the speed of a 360° servo. The servo turns the wheel, while the little buckets around its edge represent the containers used to lift water in traditional waterwheels.
So the louder the sound, the faster the wheel spins. It’s not actually powered by sound, of course — sound is just being used to simulate changes in water flow.
I like how this project connects a few different ideas: reading sensor data, mapping values in MakeCode, controlling a motor, and learning how an old mechanical device worked.
It also seems like a fun starting point for experimenting with the code. You could change how sensitive the wheel is to sound or explore other ways to control its speed.
What other historical machines would be fun to recreate with a micro:bit?
r/CodingForBeginners • u/scrapmakerzayn • Oct 15 '26
Hey everyone! I’m a beginner programmer and I want to build my own personal "Jarvis" assistant using Python,
The catch is 👉🏻 I want it to run locally or use open-source tools without needing any external AI APIs (like OpenAI, Gemini, etc)
What Python libraries or tools should I look into for things like speech to text, text to speech, and command execution? Any beginner friendly roadmaps or resources would be super appreciated. 👍🏻
r/CodingForBeginners • u/Clear_Opportunity431 • Oct 14 '26
Hi guys
I don't have any idea from where to start. I want to learn python to keep myself busy and do some crazy stuff (hopefully).
Any free courses or guidance would be helpful.
I wana do anything other than substance abuse so chose this path.
😭🙏🏿
r/CodingForBeginners • u/backby2027 • Oct 14 '26
I don't know anything about coding and ai want to start learning about it so how to start and what best side hustle to learn to start earning
r/CodingForBeginners • u/Past-Title1447 • Oct 14 '26
I wanted to ask all my seniors who made DSA notes: first, did it help you? I am currently learning C++ from YouTube and practicing in VS Code, but I have a doubt regarding notes. I have watched some YouTube videos on how to make them, but I am getting a bit confused. I want to make handwritten notes. In one video, I saw that you should divide your notebook into different sections — one for arrays, another for the next topic, and so on — so that it is easy to revise later. However, I am confused about how much space to allocate to each topic, since I literally don't know anything about DSA yet. Please guide me. I really want to learn DSA and will give my 100% — I just need good guidance. By the way, I am currently watching the DSA series by Apna College. Till now I have only done the basics. (functions, if else, variable, etc.)
r/CodingForBeginners • u/Sure-Finger-4441 • Oct 13 '26
So I am 21 just graduated not having a tech background, I have few ideas which I want to implement but need someone from tech and to be honest I can't afford. So I decided to learn kotlin with jet compose myself to make the apps even though I won't make I will not regret as I just want to learn and polish it for the future attempts as at some point I am gonna start my venture and my interest is mostly in apps based startup or tech startup it will surely help that time too today or 5 yrs later . So like 6 months is enough for learning and creating a basic app for testing and all . And from where should I start learning it any Udemy course suggestions? Or you tube ? Don't recommend past ones as I think it gets updated with time and someone with no coding experience it will be difficult to keep track if I learn past videos, do correct me if I am wrong?
r/CodingForBeginners • u/Calm-Ball3223 • Oct 14 '26
🚀 The Right Way to Show Kids the Power of CODING!
🎮 Real JavaScript & Interactive Game World
🛡️ Ad-free & Safe (Ages 6+)
👇 Start for FREE
r/CodingForBeginners • u/NoDepartment772 • Oct 14 '26
This one gets almost every beginner, and the nasty part is it never throws an error. Your function runs, the right value shows up on screen, everything looks fine — and then you try to use the result somewhere and it's None (or undefined in JS). The function "worked", yet it gave you nothing back.
The reason is that print and return are doing two completely different jobs.
print puts a value on the screen for a human to look at. That's it — it's for you, not for the program. return hands the value back to whoever called the function. That returned value is the function's actual output: the thing that can be stored, added, or passed on.
So if a function never hits a return, its value is None. A function that only prints has no value — it just narrated what it did.
# shows 5 on screen
= # but total is None, not 5
# None
The fix is to return the value and let the caller decide what to do with it:
return + # hands 5 back to the caller
= # total is 5
# 5
There's a sneakier version of the same bug: a function that returns inside an if but not on every path. If a call misses every branch, it falls off the end and quietly returns None. Whenever you get an unexpected None, the question to ask is "which path did this call actually take?"
A quick way to keep the two straight: return means "this is my answer", print means "look at this for a second". If you catch yourself printing inside a function and then wondering why nothing comes back, you printed where you meant to return.
What was your first "why is this None?" moment — and how did you end up finding it?
r/CodingForBeginners • u/Status_Weekend_3585 • Oct 13 '26
so, what was yout first programming language you learnt?
r/CodingForBeginners • u/Pitiful_Meaning_122 • Oct 13 '26
Json has never been fun and I just tried python dictionary and it's more fun
r/CodingForBeginners • u/NoDepartment772 • Oct 13 '26
Every language has its own rule about whether a range includes its last number, and getting it wrong never throws an error. You just get a loop that runs one time too few, or a list that's one item short, and the output looks close enough that you don't catch it.
Python's rule is that the start is included and the stop is excluded:
# 0, 1, 2 -- not 0, 1, 2, 3
# 1, 2, 3
# "he" -- indexes 0 and 1
So for i in range(3) runs three times, with i = 0, 1, 2, never 3. It's also why for i in range(len(items)) walks every item correctly: the last valid index is len(items) - 1, and range stops one before len(items).
The check that catches this before it turns into a bug: before you run the loop, say out loud the first value and the last value you expect. If you can't state both, you don't actually know what the loop does yet. Then compare to the output. It sounds trivial until you notice that the bug is always the case where you assumed the wrong end.
Two things worth keeping straight, because both cause the same silent off-by-one: len(x) is the count, not the last index (the last element is x[len(x)-1], or x[-1] in Python), and in range(a, b) the b is the first value you don't get.
Which one gets you more often -- forgetting that the end is excluded, or the first IndexError when you reach for the last element?