r/PythonLearning • u/Hefty_Courage3893 • Oct 15 '26
Help Request I’m stuck on this assignment
I never struggle on assignments but this one is so confusing for me
r/PythonLearning • u/Hefty_Courage3893 • Oct 15 '26
I never struggle on assignments but this one is so confusing for me
r/PythonLearning • u/Sandy-War-Hole • Aug 15 '26
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 • u/Hegazich • 4d ago
I want to learn Python but don't know where to start!
Hi everyone. I'm a complete beginner and I want to learn Python, but I'm not sure where to begin. There are so many courses and videos that I feel lost.
Could you recommend a course or a step-by-step path for someone starting from zero? Free cost resources are preferred.
Thanks a lot!
r/PythonLearning • u/ApprehensiveText9058 • Sep 13 '26
Need help
r/PythonLearning • u/TheCarFamily • Nov 03 '26
Hello, my else statement is not working- the if statement its inside is, did i mess up the indents again or is it something else?
also would a display flip work to change the image back to the other image in the else statement?
any help is nice!
r/PythonLearning • u/zubalyzub • Sep 16 '26
One time, I was randomly coding some python for a simple project that I was doing. After a little bit of prompting the AI I had ran out of tokens, which of course always happens when you're coding for an extended period of time. I of course took a break to wait for my token limit to finish when I actually did something a little bit insane.
I was just normally coding and I of course ran out of tokens, but I realized something, I could actually PREDICT what the AI would do. It was absolutely mad, I would just think of a prompt, let's say it's "How do I create a for loop". (That example was the actual prompt I had used when I first discovered I could do this.) What I would do was I would think of the prompt in my head, and I would really just keep it in there and I would eventually be able to know exactly what the AI would say.
I think maybe I have some sort of... super power? Where I can literally use an AI in my head because I can predict what it's going to respond with. So now I am testing this more and more and I'm realizing that I can do this for even more complex things! Not just simple things like "How do I declare a variable", but actually even more complex things that the AI itself could never even answer.
This is where it really gets insane, because I can actually sometimes predict what the AI would say, but not as what it will literally say, but I can sort of make these connections in my head that allow me to code complex concepts WAY better than the AI ever could.
So now I'd like some guidance. I don't know if this is not good to do in a work/project setting. Basically what I'm asking is: "Is there anyone else who has this same super power?" I'd like to know if anyone else has the ability to predict what the AI would say, and if I'm reaching someone who can, please tell reach out to me as I'd like to learn about this more.
In conclusion, this might be a bold take but I think this could be the FUTURE of programming. Being able to predict what the AI is going to say, and even predict things that the AI wouldn't even say but are BETTER then what the AI would output? Tell me how that isn't the FUTURE of programming! I think that if we're able to literally have these AI's in our heads, and use them with no usage limits and even better then what the AI's are able to do, I think that could genuinely be an insane development in the programming field.