r/learnpython

▲ 0 r/learnpython+1 crossposts

Is it still worth to code or should I learn to use ai instead?

Hello I'd like to ask what is the best way to learn and eventually program nowadays. I've been coding for a year in python and I know some basic stuff such as loops, functions, oop and request library, however, I don't know whether learning to code is still a valid skill in 2026. Because recently I have talked to a software engineer and he told me that he hadn't written a line of code for the past 10 months. So I started questioning myself whether is it still worth learning to code. Whether I should focus more on the ai part: meaning which ai tool does what etc. or still focus on tutorials and learning syntax.

I would really appreciate if you would answer and maybe give me some advice.
For now Thanks :)

reddit.com
u/ImLukaskos — 10 days ago

I’m taking a “learning programming in python” class in high school and im already lost.

The first month was very easy. Inputs, basic programs and whatnot. Now its while and for statments, as well as loops and nested loops. The programs are mostly solving hard mathematical equations, and I’m not great at math and the rest of the class is very good, so I’m always behind.I am soooo lost now and rely heavily on the internet to finish my programs. Is there anything i can do outside of class to gain the same programming knowledge. The textbook were studying is starting out with python 6th edition by tony gaddis.

reddit.com
u/Comprehensive_Wolf91 — 10 days ago

How to learn python?

I’m a complete beginner and I have essentially no knowledge with coding whatsoever. What would be the best way to learn Python??

reddit.com
u/Keaton103 — 10 days ago

MCQ test in terminal

Helloooo

I'm building a mcq in Python for my lovingggg friend and wanted to share my logic to see what you ppl think before I start coding it up.

I'm just starting with a simple print statement for the intro to welcome n all.

Then I'm going to make a main dictionary where the key is the actual string containing the full question text along with the 1-4 options, and the value is the correct answer number.

Once the dictionary is made, I'll run a for loop to go through it. Inside that loop, I'll use input so the user sees each question one by one and types in their number choice, I'm going to store all their user inputs into a second separate dictionary.

Then at the very end, I'll make another loop to match the answers from the input dictionary against the original master dictionary. For every match, +1 mark added to their final score

I am honestly coding after months and was just a beginner when I stopped

I am kinda nervous and need help building this simple thingy

Looking for some improvement/tips

And um idk if I can even use most of the tips if it requires some dictionary n all

I did pandas before I quit so maybe I can use it here if I revise properly

reddit.com
u/Justicemirm — 11 days ago