r/CodingForBeginners • u/fyknite • Nov 01 '26
Day 4 learning_Python (Decided to continue to the next lesson and thus wrote this):
The most important line on tis one is on #9.
r/CodingForBeginners • u/fyknite • Nov 01 '26
The most important line on tis one is on #9.
r/CodingForBeginners • u/EmploymentSerious768 • Oct 31 '26
Did some pseudocode for something due tomorrow concerning arrays. would like to know if my logic concerning arrays is skewered. It's formatted the way it is due to the teacher's preference lol/
Problem
Search the web to discover 10 commonly used passwords and store them in an array. Write pseudocode to represent the logic of a program that prompts a user for a password, then displays an error message and continues to prompt until the user has not chosen one of the common passwords.
CODE:
START
//HOUSEKEEPING
DECLARE USER_PASSWORD
DECLARE COMMON_PASSWORDS[10]
DECLARE INDEX
DECLARE MATCH_FOUND
SET COMMON_PASSWORDS[0] = "123456"
SET COMMON_PASSWORDS[1] = "password"
SET COMMON_PASSWORDS[2] = "qwerty"
SET COMMON_PASSWORDS[3] = "111111"
SET COMMON_PASSWORDS[4] = "12345678"
SET COMMON_PASSWORDS[5] = "123456789"
SET COMMON_PASSWORDS[6] = "admin"
SET COMMON_PASSWORDS[7] = "abc123"
SET COMMON_PASSWORDS[8] = "123123"
SET COMMON_PASSWORDS[9] = "iloveyou"
//INPUT
DISPLAY "Enter a password:"
INPUT USER_PASSWORD
//PROCESS
SET MATCH_FOUND = TRUE
WHILE MATCH_FOUND = TRUE
SET MATCH_FOUND = FALSE
FOR INDEX = 0 TO 9
IF USER_PASSWORD = COMMON_PASSWORDS[INDEX] THEN
SET MATCH_FOUND = TRUE
ENDIF
ENDFOR
IF MATCH_FOUND = TRUE THEN
DISPLAY "ERROR: Password is too common. Please enter a different password:"
INPUT USER_PASSWORD
ENDIF
ENDWHILE
//OUTPUT
DISPLAY "Password accepted."
END
r/CodingForBeginners • u/Stock_Test2326 • Oct 31 '26
I was a civil engineer and post 2020 I had to take tech job as data engineer. SQL was comparatively easier. (Am in Mid 30’s with ADHD)
I’ve been trying to learn programming on and off for almost 10 years.
I’ve picked up Python several times, read tutorials, gone through books, and understood other people’s code to some extent. But there’s always been a gap between reading code and actually writing my own. Even writing a basic program from scratch hasn’t felt natural to me.
Today, I was organising my learning roadmap, trying to figure out the best books and resources for each subject. I finally sat down to read *Think Like a Programmer*, only to discover that it uses C++.
C++ wasn’t what I intended to learn right now. I’m trying to get into data engineering, so Python, SQL, PySpark, and Databricks are my immediate priorities. C++ is something I had planned for much later.
But I thought, why not learn just enough C++ to understand the book?
I asked ChatGPT for a basic primer, intending to skim through it. Instead, I started writing code and working through the exercises myself.
Three hours later, I had worked through the basics, solved all the exercises, and backed everything up to GitHub.
And **I genuinely enjoyed it.**
I know I’ve barely scratched the surface. I can’t suddenly claim that I know C++, and I still have a long way to go before I can comfortably write programs independently. But something clicked today.
For years, I’ve mostly been reading code and trying to understand it. Used Agentic coding to build couple of websites (am an artist too) Today, I actually sat down and wrote it. Seeing my own code work, solving problems myself, and having something tangible to show for the effort felt surprisingly good.
It’s funny that the language I wasn’t even planning to learn ended up giving me more confidence than all those attempts at learning Python.
Maybe I need to approach Python differently this time: less passive reading, more writing, experimenting, and solving problems myself.
I’m posting this partly to hold myself accountable. I want to keep showing up, keep practising, and eventually become someone who can build things without constantly relying on tutorials or AI to write the code for me.
Today wasn’t a breakthrough in terms of skill. It was a breakthrough in confidence.
And honestly, after almost 10 years of trying, that feels pretty fucking amazing.
PS. English is my 4th language and I used AI dictation for grammar & coherence.
r/CodingForBeginners • u/fyknite • Oct 31 '26
Combining (Data,Function Def & Function Calls) while applying proper formatting. This one here really made me think and go back to correct. Took me 5 tries to get to this point. Now in my imaginary game, if any variable changes in value. my outputs would update accurately without having to adjust any of my def or show code.
r/CodingForBeginners • u/Neither_Cupcake_8081 • Oct 31 '26
im on linux and i wanted to see if one can make a program (call it program A) that automatically loads a local htmlm file instead of, say, tiktok.com or reddit.com every single time, even after reboots.
And can you make a program, which when clicked, creaes program A In the exact needed directory with all the code inside and also runs it.
r/CodingForBeginners • u/elecfreaks_official • Oct 31 '26
We wanted to make something fun for Halloween, so we came up with a little pumpkin monster that can actually move around and scare people.
It's basically a Cutebot Pro dressed up as a jack-o'-lantern, with two skeleton hands sticking out of the sides.
At first, it just looks like a funny little pumpkin on wheels. But get too close, and those hands suddenly swing downward while the lights turn red.
Definitely more interesting than a pumpkin sitting on the doorstep. 👻
What we used:
How we made it
We started with the Cutebot Pro as the base and mounted a servo on each side.
Then we attached the skeleton hands to the servos. This took a little adjustment to make sure both hands could swing freely without hitting the pumpkin shell.
We added the pumpkin cover and wrapped a NeoPixel strip around it. The idea was to make it look like a normal glowing Halloween decoration until the scare happens.
The interesting part is how we made it move and react.
We used a joystick to control the robot remotely. It sends the joystick's X and Y values over radio, and the Cutebot Pro uses those values to control its left and right wheels.
For the jump scare, we added an ultrasonic sensor.
Normally, the skeleton hands stay raised at 90°. When something gets within 15 cm, the robot stops, both servos move to 0°, and the lights switch to red.
Once the object moves away, the hands go back up and the lights return to orange.
So the whole sequence is basically:
Drive around → Someone gets close → Hands drop + red lights → Back to normal.
A few things we thought about trying next:
It was a fun little build, especially seeing the robot go from a simple moving car to something with its own Halloween personality.
I wonder what other characters we could make with the same setup. A spider? A little ghost? Something even more ridiculous?
r/CodingForBeginners • u/themessiah1012 • Oct 30 '26
Link: https://github.com/mrrwhoo1/MultiDL/releases
I built MultiDL, a free, open-source Android media downloader supporting 1,000+ sites, including YouTube, TikTok, and other platforms. Save supported videos for offline viewing with quality and audio options.
I'm looking for people to try it out and would appreciate any feedback or suggestions for improvement.
r/CodingForBeginners • u/Head_Ordinary_2437 • Oct 30 '26
hello, i am curious how you reach the programing growth mindset what is your processes to see coding as problem solving and how long it took to click into your brain and be free from feeling stuck
thank you
r/CodingForBeginners • u/fyknite • Oct 30 '26
Today I learned to use Functions. I’m self-teaching myself ethical hacking. Currently learning python, using pwn.college and Try hack me. Ill also be purchasing a spare desktop to run linux for future projects.
r/CodingForBeginners • u/Ok_Difficulty_5102 • Oct 29 '26
i wanna ask some question about what can ai do at programing as a beginner and it can be my guide or not ? like to help me to improve my programing skill or even my ai skill and teach me step by step . and if the answer is yes when i get better at programing what should i do next ?
r/CodingForBeginners • u/Mobile_Sandwich_6680 • Oct 29 '26
I'm still in the process of learning as I go, proudly have two certificates and working on a third and revising a lot. I'm trying to work out why on my project folder there is a red X in the document folder on my computer. Where is said error??? I've had a dig through, can't find it.
Also honest opnion on fast hosts, are they good?? are they not so good?? Would love honest and helpful feedback. In the middle of learning everything and being self taught as well as having ZERO programming buddies at the moment, this is my only life line, plus my questions aren't being answered on my search engine.
thanks for any advice.
have a great night
r/CodingForBeginners • u/DeepRatAI • Oct 29 '26
I'm not sure anyone still needs to hear this but when i started out i paid for like three of those "learn to code in 6 weeks" things. they teach you to copy-paste some basic scripts, you feel like a genius, and then you open a blank IDE and your brain just shuts down. hurt my pride a bit. and my wallet xD
anyway, i love making educational stuff in my free time, so about a year and a half ago i got it into my head to write the comprehensive version i wish i had. it's called no shortcuts. it literally starts at zero (python basics, the math you need, etc). but warning tho: its like 1800 hours if you actually do the labs. yes, i know. thats the whole point of the name lol.
sooooo here you go :B
https://github.com/BlueRingsLabs/no-shortcuts
readme has all the info (i hope lol). if u get stuck or have questions, dm me and ill share my discord (im a bit of a slacker so i might be slow to reply :B). feedback is welcome too.
parts of the course:
0. orientation | 1. foundations | 2. data engineering | 3. classical ml | 4. deep learning | 5. language models | 6. ai engineering | 7. rl | 8. mlops | 9. capstones
hope its useful for someone here starting out. it's a marathon, not a sprint, so dont burn out :B
r/CodingForBeginners • u/Dizzy-Anything-4869 • Oct 29 '26
I want to get pretty serious about creative coding, mostly for websites and front facing platforms.
I used to know html and CSS somewhat years and years ago and can read basic code, as in having to edit it etc.
Where do I start? Something serious. I would like to be cheap about it or stay under $50 a month.
r/CodingForBeginners • u/AgentOk4964 • Oct 29 '26
1)always think in terms of bottlenecks and constraints.
from working with many talented engineers, I noticed that they are all good at one thing: pinpointing the biggest weaknesses in their app, which meant focusing on the set of features/constraints that will get them the most return. this allowed their apps to progress much faster than the others who were implementing random features nobody asked for.
2) ui/ux trumps all.
nobody, including you, wants to use an app unless it's aesthetically pleasing/very intuitive to pick up no matter how cool the app idea may be. half of being a good builder is having good taste for good design.
3) don't wait to know everything before starting.
you learn way faster from starting a project that interests you and learning along the way than trying to educate yourself on all the individual components that MAY be useful for your app. in most cases, all the theoretical things you learn will not be useful when you actually try to build out the app.
4) high-level architectural understanding > algorithmic prowess.
with AI now, you don't need to know every piece of logic inside and out to create a good app. it is more helpful to have a good conceptual understanding of where pieces of the app should go (aka system design) rather than fixating on any particular piece of logic.
5) build what interests you.
there is no optimal path to starting. the fastest way to get to where you want to be is chasing what you find interesting, no matter if it's a novel, world-changing idea or a simple writing tool (like me lol). do what feels right, not what sounds good.
r/CodingForBeginners • u/Loud_Veterinarian793 • Oct 28 '26
Anyone wanna help ?
r/CodingForBeginners • u/themessiah1012 • Oct 28 '26
GitHub: https://github.com/mrrwhoo1/MultiDL
I built MultiDL, a free, open-source Android media downloader supporting 1,000+ sites, including YouTube, TikTok, and other platforms. Save supported videos for offline viewing with quality and audio options.
I'm looking for people to try it out and would appreciate any feedback or suggestions for improvement.
r/CodingForBeginners • u/Bowler_Roller • Oct 28 '26
Hi Friends (newbie coder here),
I ran this directory site through 'builtwith' and it looks like it's coming back with asp.net as the main framework program. However, from what I understand about asp.net, you need to run a front end program because it's HTML looks archaic and the sites look like they were built in 1978.
* Is that right? * Does anybody know what the 'front end design' program for this site would be?
Appreciate any help for a student learning how to program. .
www.Builtwith.com/storeboard.com
Thanks very much for your help!
r/CodingForBeginners • u/fabdom8 • Oct 28 '26
I'm a student that knows how to code with python and now learning html, css and javascript. I'm trying to know what to do now like projects or something that can help me in my future like i can add in my portofolio, my dream job would be in cybersecurity i have some basics in linux/terminal, someone can give me some ideas or links that i can start.
r/CodingForBeginners • u/CharmingAd3643 • Oct 28 '26
some tips how to learn cpp? I can’t code in any language I’m such a beginer.
r/CodingForBeginners • u/Chance-Bag-6655 • Oct 28 '26
Sto cominciando a programmare python e alcune funzioni le so già, ma vorrei un video su YouTube per capire la maggior parte delle cose contenute in python e per cominciare a programmare qualcosa di più avanzato(non i soliti giochini). Che video mi raccomandate?
r/CodingForBeginners • u/Lady_TwoBraidz • Oct 28 '26
So I am a postdoctoral wet lab biologist who cannot code to save my life. I have taken three separate coding courses in grad school and I have nothing but a cursory understanding of R to show for it. I do not create apps, obviously, nor am I currently doing major bioinformatics processing at the moment.
I just want to search predicted peptide sequences from one table against instrument results from another table. I am using AI to generate code to help me do that.
I understand that the gold standard for validating code is to know how to code and validate it yourself. I would love to do it, but I am a slave to the publish-or-perish directive. I have to resort to alternative means while I am learning (auditing classes at my uni at the moment). I also know that a baseline verification method is to ask another AI to check the code, which I plan to do once I have finished writing (?) the program.
Apart from that, what else can I do? We have a bioinformatics person in our lab but he currently isn't available.
r/CodingForBeginners • u/Anasbarkaoui • Oct 28 '26