r/PythonLearning • • Jun 18 '26

Help

1 Upvotes

How can i start python programming as i am new to it and i dont khlnow anything


r/PythonLearning • • Sep 17 '25

Hello does anyone know how to code this

Post image
11 Upvotes

r/PythonLearning • • Aug 06 '25

Help Request Can someone help me get this working? It errors on line 138? Help ASAP

Thumbnail
gallery
0 Upvotes

r/PythonLearning • • May 13 '26

I wrote a guide for AI-powered rewrite from Python to Rust

0 Upvotes

I had to rewrite some logic from Python to Rust because it was compute-intensive and simply too slow in Python. Therefore, I wrote a step-by-step guide for myself (and others) on how to do that using AI. (Works also if you're manually writing the code)

You can find it here: https://jangiacomelli.com/blog/ai-powered-rewrite-python-to-rust/

Hope you'll find it helpful!


r/PythonLearning • • Oct 01 '25

Still dumb and sont know whats wrong here

Thumbnail gallery
5 Upvotes

r/PythonLearning • • Apr 11 '26

Good Laptop Or Not

5 Upvotes

HP VICTUS 15-FB3134AX

AMD Ryzen™ 7-7445HS Processor

16 GB DDR5-5600 MHz RAM (1 x 16 GB)

512 GB PCIe® Gen4 NVMe™ M.2 SSD

NVIDIA® GeForce RTX™ 3050 6 GB GDDR6 Graphics

15.6" FHD IPS Anti-glare Display

Backlit Keyboard | Wi-Fi 6 (2x2)

Bluetooth® 5.4

Performance Blue

Windows 11 Home | Microsoft Office Home 2024

Rs: 81999/-

is It Good Deal 🤝

and

it is best for Gaming And Coding?


r/PythonLearning • • Nov 08 '25

Help Request What’s the issue with my code?

Post image
117 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 • • Oct 20 '25

Help Request What wrong in this loop

Post image
41 Upvotes

The guy on yt does the same thing and his code runs but not in my case ..... What am I doing wrong !?!?. Help needed


r/PythonLearning • • Oct 16 '26

Help Request Help with correct expression

Post image
10 Upvotes

Hey everyone! I’m currently learning Python through the IBM Data Science Professional Certificate on Coursera, and I came across a question in a practice quiz that confused me.

The question asks:

Which line of code will perform the action required for implementing the following equation?

y = 2x^2 - 3

These are the four answer choices:

  1. y = 2*x*2 - 3

  2. y = 2**x*x - 3

  3. y = 2x*x - 3

  4. y = 2x/2 - 3

I selected Option 1, but the quiz marked it incorrect and said, “The syntax is invalid.”

From what I’ve learned, Python uses ** for exponentiation and * for multiplication. So, I believe the correct Python expression should be:

y = 2*x**2 - 3

However, none of the four answer choices seems to match that expression.

Am I misunderstanding something about Python syntax, or is there a mistake in the quiz? I’d appreciate an explanation because I’m still learning how to translate mathematical equations into Python code.

Thanks!


r/PythonLearning • • Jun 18 '25

Looking for free API which actually works

7 Upvotes

I'm trying to build a virtual assistant, but most APIs are paid, and the free ones don't work well. Please suggest good alternatives.


r/PythonLearning • • May 23 '26

Discussion Do you think it is dangerous?

Post image
0 Upvotes

This code can be dangerous if values are high.

It should have a limit function. I tested Hello at 200 times but in the app there is no limit. It can damage RAM.


r/PythonLearning • • May 22 '25

Discussion Worth learning now?

4 Upvotes

With the increasing number of layoffs in SWD due to AI, is it worth learning Python now? In fact any other programming languages?


r/PythonLearning • • 23d ago

Help Request Understood the Python concepts but completely messed up the test

4 Upvotes

Fy DS student and I recently had a Python test that honestly didn't go as well as I expected.

The frustrating part is that I wasn't completely clueless about the questions. I understood the concepts, knew which syntax was needed, and could understand what the problem statement was asking me to do.

But when it came to actually applying everything and writing the code, I got confused. I started forgetting things, made indentation mistakes, got errors like ValueError and other errors etc. I didn't do good in test it was 15marks test for 1 hr.

For those who have been through this, how did you get better at applying concepts under pressure instead of just understanding them theoretically? Did you practise more problems, rewrite code from scratch, or follow some other method?

I'm still learning, and I don't want one bad test to discourage me. I just want to figure out how to improve so that next time.


r/PythonLearning • • May 20 '26

how do i learn python

4 Upvotes

i dont know anything about coding with pyton but i want to learn how to do it. when i check tutorials their pythons looks diffirent then mine. mine is j ust like aa p lain text file but heirs has fetaures they have commandss they can use shown or something like that idk. i dont know where to start


r/PythonLearning • • May 29 '26

Python Shallow vs Deep Copy

Post image
21 Upvotes

An exercise to help build the right mental model for Python data.

The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.


r/PythonLearning • • May 15 '26

I want to learn python and also earn from it after period of 2 or 3 months?

11 Upvotes

I want to learn python, I also like coding but at the moment I want to learn python to earn some side income to support my family and myself and learn a worth it skill. I have decided to be honest to myself and stick to learning process very well, but I'm confused what skill to learn in python how that will help me build my skill and help me earn some money? And why that skill.

Please suggest some skills, hows and whys.


r/PythonLearning • • May 03 '26

Discussion After reading your replies: these are the real problems beginners face

15 Upvotes

I asked what makes learning programming difficult, and a few patterns clearly stood out:

  • Lack of structure — things don’t connect

  • Hard to “think like a programmer”

  • Learning syntax without understanding what the code actually does

  • Not seeing the full picture until much later

  • Getting stuck on small mistakes for hours

  • Tutorials giving a false sense of progress (everything works… until you try on your own)

  • Too many languages and frameworks — hard to know what to focus on

  • Practice that feels disconnected (e.g. too many abstract or math-based tasks instead of building something real)

What’s interesting is that most of these are not about the language itself.

They’re about how the learning process is structured.

When you don’t see the whole picture early, everything feels random and frustrating.

I’ve been thinking a lot about how to explain programming in a more structured and intuitive way for beginners.

Curious — what helped things finally “click” for you?


r/PythonLearning • • May 20 '25

any idea what is happening..

Post image
3 Upvotes

took input an integer..

but still getting a type check as a str..

just want to know is it only possible if we use type conversion.

cant i just know with just the above things...


r/PythonLearning • • Nov 14 '25

Were I learn

3 Upvotes

Whare i learn and practice and problem solving skill in python which website is free for practice


r/PythonLearning • • Jul 17 '26

Best free AI in Python

0 Upvotes

Many of us will agree that in Python, and in coding, Claude is the best. But what about free models, like deepseek, nemotron, hy3, Mimi 2.5 and etc.

For me it’s Deepseek and Hy3 In high thinking. What do you think?


r/PythonLearning • • Jan 19 '25

A wild guess game???

Thumbnail
gallery
3 Upvotes

r/PythonLearning • • Jul 09 '26

print(False==0)

0 Upvotes

Output of this python code

169 votes, Jul 11 '26
39 Error
10 0
21 False
99 True

r/PythonLearning • • Apr 16 '25

AI idea

Thumbnail
gallery
3 Upvotes

This looks like fun project!


r/PythonLearning • • Jul 22 '26

Help Request asking

0 Upvotes

what core concepts of programming should i focus on to have software engineering skills and concepts.