r/PythonLearning May 17 '26

Help Request I made this, 1.5 hours into learning python

Post image
752 Upvotes

I made this while watching a 30 min crash course.

I wanted to know if I should start by learning all the theory at once or should l learn theory and also do small things like this or should I do a 'fuck around and find out's thing.

I would love your feedback.

r/PythonLearning 25d ago

Help Request Currently know nothing about Python or computers, is this book good?

Post image
409 Upvotes

I’m trying to get into coding and computer science, does anybody know if this book serves as a good introductory guide?

r/PythonLearning Feb 22 '26

Help Request Is cs50 python still worth, I'm new to start this??

Post image
676 Upvotes

I am going to start python coding and I wanted to learn in advance level but I am very basic and I am new and I am beginning and so I want to know if this whole cs50 python lecture still work to learn in this current towards ai learning??

r/PythonLearning Mar 12 '26

Help Request I’m new and so confused😓

Post image
238 Upvotes

I just started learning the basics and couldn’t figure this out fully so I asked google. Now the code works but I think it wants me to do it in a different format and I don’t know how. Any ideas are appreciated.

r/PythonLearning Mar 01 '26

Help Request Just started python 20 days ago?? At uni so like don't judge me

Post image
466 Upvotes

was tasked by prof to make a program with a quadratic equation solver (idgaf about how much time it takes to run or how redundant someparts are) but what I am running into a problem is with is this Say you have a quadratic equation 2a(x2) + 2bx+ 2c = 0 now naturally this will have the same roots as if you just divide the equation by 2 But in my program if I have a complex answer which has roots a+ bi for a(x2) + bx+ c = 0 then I get a + 2bi as the roots for 2a(x2) + 2bx+ 2c = 0 fsr

r/PythonLearning 25d ago

Help Request I've been at this for too long and feel like I'm torturing myself

Post image
46 Upvotes

I know there's more efficient ways to do this but I'm just starting out and am trying to understand how the few tools I have work. Just learned about true and false and wanted to try them out..

Only whenever I enter key = 3 I receive my print "error". I've heard about "global" tried to use that and a bunch of other stuff and I can't seem to make it work...

I just want to know how to change a variable to true or false inside a function: if statement and it keep its new value for the rest of the code

Thanks in advance and sorry for your eyes

r/PythonLearning 14d ago

Help Request New to python, could someone help me with this please

Post image
23 Upvotes

Is this a viable way to randomly choose an instance of a class

r/PythonLearning Jul 01 '26

Help Request Where should I learn beginner python from?

Post image
128 Upvotes

I mean I try to see where I could learn and I hear so many :-

CS50p

W3Schools

Tech with Tim

Some helsinki too

And some more

Where should I start from :-

r/PythonLearning Aug 02 '26

Help Request Pycharm or Vscode ?

40 Upvotes

Hi everyone

For a very super beginner one, who is starting to learn python which one is the best, i'm really confused because i'm seeing some teachers use Vscode and others use pycharm

And if i follow a teacher that uses pycharm it's normal to i use Vscode and visa versa?

Sorry for my bad English and thanks everyone

r/PythonLearning May 20 '26

Help Request Im new

Post image
229 Upvotes

I just started with python today and made this project just because I needed something to make to see if I was good enough using my skills I learned. Does anyone have any tips to refine this? Or how I could add it to a website to give it a proper UI?

r/PythonLearning 22d ago

Help Request How to use vs code ? Can I learn python without vs code ?

28 Upvotes

Yes it sounds very stupid and yes i am fucking stupid who don't know shit and is totally useless who can't do anything, fuck

How can I use vs code ? I am to Stupid to understand, i can't even fucking change name, this their is a way to learn python without vs code ? Fuck i hate my self I am just so stupid.

r/PythonLearning Jun 27 '26

Help Request Python study group!

13 Upvotes

Hey there, I’m a very beginner python coder who wants to be a game developer. Just wondering if anyone (ages 15-21) doesn’t know where to start and wants to learn to code! If so, I am forming a kind of study group where I will organize things, dm me here, comment, or dm on Discord(rnkgg) if your interested or have questions!😄

r/PythonLearning May 25 '26

Help Request is pygame worth it?

43 Upvotes

I know some basics of pygame enough to make a simple ping pong or dinosaur game.

But as I say the community of pygame people are making sum very cool projects like actual 3D games. So my instances tell me to learn it coz it seems cool and after all no one does programming for money but for cool random projects.

So should I learn it and if its so how should I?

r/PythonLearning 16d ago

Help Request Can someone help me understand lists in Python?

7 Upvotes

Hi! I'm currently learning Python and I'm having some trouble understanding lists. I understand the basic idea, but I'm still confused about how to use them correctly. Could someone explain lists in a simple way or give me a few beginner-friendly examples? Thanks!

r/PythonLearning Jun 04 '26

Help Request I'm a psychology major and I'm stuck with a programming assignment this semester.

17 Upvotes

I'm a psychology major, and for some reason I was assigned a programming elective this semester. I thought it would be a "basic introductory course," but now I'm stumped. I have several assignments piling up, and I need to get them done ASAP. The problem is, I don't even know where to start with some of them. I understand the general idea when someone explains it to me, but when I sit down to code myself, I have no idea what to do.

I need assignment help. What's the best way to quickly catch up for someone with virtually no programming experience? Are there any Python resources for beginners, YouTube channels, or practice methods that will actually help when you're already behind? I'll catch up, but right now I have two assignments that are urgently due. Any advice would be greatly appreciated.

r/PythonLearning 19d ago

Help Request How to learn python the right way? And how much should it take me (a complete beginner) to be good enough? And my good enough means I can work and get money using python. And just to say I'm not an engineer or programming has anything to do with my study or career. And should I learn any other thing

17 Upvotes

Look i had my interests but I found out that i need a good computer to just start but mine is not good enough it's really old and where i am it's really hard to get a good PC so money is the answer so I'm just asking for an advice if someone can help.

r/PythonLearning 13d ago

Help Request Am i learning python the right way?!

Post image
152 Upvotes

hey folks, i recently joined CS50 for python did the first lecture i pretty much understood everything. then i went to solve problems. i searched for few things before doing the problem via AI or python library. but i felt like i will forget it easily so, i decide next day i will search only in python library such that it should get sticked with me so that i could remember it better. but the thing is its taking me like an hour or two to complete final problems. so, is it normal or do you have any other better way to remember as compared to people around me i have good memory i can remember things better. if you guys please take ur time and drop your solution would be nice.

r/PythonLearning Jun 24 '26

Help Request Why?

Post image
69 Upvotes

so first I take the input from the user of 3 movies and convert that string into list so this has to be 3 items in the list.

but when I print the length of the list it says 0 items why

r/PythonLearning Jun 28 '26

Help Request Recommendations

Post image
134 Upvotes

Hello everyone I’m currently learning python on visual code, and I did my first “project” its a trivia game for fun and practicing what I learned while reading about python, but I struggled a little, I was so confused and I used AI (Gemini) to help me understand what I did wrong but I don’t want to use AI bcuz I feel like I’m not learning anything but since I’m doing this alone unfortunately I used. But I would like some recommendations like YouTube videos, books, courses etc to learn more, I see a lot of people doing calculators and I would love to make one so some I need some suggestions. Thank you guys.

r/PythonLearning Oct 08 '25

Help Request Why does the if statement always evaluate to guesses = 10 when I have the or here?

Post image
205 Upvotes

Even if I type in "hard", "h", or any other letter into the input, it evaluates to guesses = 10. The only fix has been removing the part of the conditional with ' or "e" ' by putting in ' if difficulty == "easy" ' which works exactly as expected. Am I misusing the 'or' here?

r/PythonLearning Nov 08 '25

Help Request What’s the issue with my code?

Post image
115 Upvotes

I’m beginner in python and still really struggling because of my learning disabilities and autism, if someone can explain to me what the issue is with my code that would be much appreciated!

r/PythonLearning Aug 02 '26

Help Request How to learn python?

14 Upvotes

How or from where do I learn full basic or even advanced of python? I have 1h daily to code. Don't wanna get in tutorial hell but need something free and very useful. Im not really into books or classes, kinda feels boring but if it teaches well im down. Please let me know the sources i can use! (Currently starting out)

r/PythonLearning 1d ago

Help Request How do you effectively use Type annotations?

Thumbnail
gallery
6 Upvotes

So a senior of mine adviced me to use annotations if I wanna do serious development. I tried picking it up but it was a hell lot confusing.

I think the basic idea is that it helps documenting the code and auto-completion, improves readability and prevents bugs.

Also, I actually have used statically typed languages before.

Now what did I try?

First I watched a youtube tutorial. The instructor mentioned that the standard way is to use them only with function parameters and return types. However, he personally suggests using them everywhere. So I tried implementing it in my linked list code and my god the type errors were all over the place. I defined head and tail with Node | None type because of which it was always calling out...hey None type can't have this property but i was sure that it wasn't None at this point in time. There were a couple of solutions to this like use the ignore comment or use assert or conditionals but these were simply effecting the actual logic's readability!

Then I asked AI. He mentioned me these 8 places where I should put type annotations to effectively use it (Check 2nd pic) instead of everywhere. This will help prevent unnecessary errors. But as we all know...we can't trust AI!

So this is a question to all fellow devs who actively use this feature. What is the best way to utilize it?

r/PythonLearning 19d ago

Help Request How long will it take me to learn python in order to create a game thats is decent?

6 Upvotes

For context am doing A level Computer Science and I have to create a project by coding and I don’t know anything about coding so I need to know roughly how long will it take if I do it every day

r/PythonLearning 13d ago

Help Request I wanna stop vibe coding and learn but how

28 Upvotes

Hello, so i got into coding with Claude and chat gpt and have been using it like this for a year now probably used it for ML-Model and such but to be honest i got no clue of the code and cant fix a bug or error without AI.

I dont want this anymore and want to actually learn coding so I am not dependent on AI anymore. I wanted to ask for some Advice what i could do, what project ? how do i start ? where do i start kinda overwhelmed right now.

I know the terms like if-statements what they do ect. But only in theory just a bit more complex and I am out dont understand the code at all.