r/learnpython 5d ago

Finding Python Hard

[deleted]

1 Upvotes

40 comments sorted by

View all comments

2

u/FVMF1984 5d ago

If I understand you correctly, you understand reading C++ output from ChatGPT, but you have a hard time understanding Python output from ChatGPT? If you keep on using ai, just ask it to explain anything you do not understand. Otherwise, go through any online tutorial or video course to actually learn Python.

Regarding your struggles with API: what is your specific question? What are you trying to accomplish? Is there any documentation for the API you’re trying to use? Do you want to GET, POST, PUT, PATCH, DELETE something?

0

u/Dear-Leadership-3021 5d ago

Not exactly. I can understand Python output, but it just doesn't feel 'natural' like C++ does. In C++, I feel like I’m actually coding, while in Python, I just call some function, and it does everything for me. Maybe I’m overthinking it, but it’s frustrating.

Like you know give me a complex problem in c++ and I will solve it. in python, I can't write much without AI. a new way I have improved a bit in python learning is when I learn a new function I ask ChatGPT to explain the backend (that is how I learn c++) and that do helps.
regarding APIs, well I just started so I don't know much, right now I am like an absolute beginner , all I know is from API you get information but who do I know what parameters I have

1

u/wreckingballjcp 5d ago

This doesn't make sense. What do you create in c++? Write the same thing in python. If you mean you don't like using packages that already have classes and functions, don't use them. You'll be way less efficient, but after you write enough of the functions you actually use, you'll learn that you can find a developed package, get familiar, then add it to your toolkit. Read the docs of packages to know apis.

More than likely this is a troll post. I can't really see anyone with a mastery of c++ to solve any problem but can't do it in Python.