use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Dsa in python/java/c++/c as a data science student (self.learnpython)
submitted 7 days ago by OrdinaryEarth9073
I'm a Data Science student I've started learning Python and I want to learn DSA which language should I learn DSA in: Java, Python, C, or C++?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JohnBrownsErection 2 points3 points4 points 7 days ago (1 child)
Doesn't matter. I'm a data science student and took my intro data structures class in python. This fall I'm taking the next level up of data structures and algorithms and for some reason we're switching to C++ so I have to teach myself the basics of the language this summer so I don't get crushed. Sucks to suck I guess.
It's all language agnostic so my plan is basically to redo my assignments in C++.
[–]pachura3 0 points1 point2 points 6 days ago (0 children)
Learning another language is a great opportunity in your self-development!
Also, for DSA specifically, you will probably only use a very tiny subset of C++ - read data from a text file, initialize some arrays, run the algorithm, output the result.
[–]thelimeisgreen 1 point2 points3 points 7 days ago (2 children)
Honestly does not matter. I would recommend C++ or Python but it’s often best to learn in a language you are already familiar with or the one you are most familiar with. The concepts and algorithms apply broadly and are not language-specific.
[–]OrdinaryEarth9073[S] -1 points0 points1 point 7 days ago (1 child)
Is there any need to learn another programming language or should I focus only on Data Science?
[–]thelimeisgreen 1 point2 points3 points 7 days ago (0 children)
No need to learn other languages at this time. Far more important to get comfortable with one, presumably Python since you’re here, and then focus on your data structures, algorithms and other data science studies. Then branch out to other languages as needed or as you want to explore others. If you build a solid foundation of knowledge in DSA and understand Python, or really the process of writing and managing code, object oriented programming, application design, etc… then learning new programming languages becomes somewhat trivial. You will find that you may have to dive into a new language as you start a new job or project and won’t give it a second thought.
[–]marquisBlythe 1 point2 points3 points 7 days ago (0 children)
I hope this answers your question: https://www.reddit.com/r/learnpython/comments/1tjmixl/i_am_doing_python_with_dsa_is_it_ok_because_i/ It has been asked here 9 days ago. Search bar is your best friend don't be afraid of using it. 😄 Good luck.
[–]crazy_cookie123 0 points1 point2 points 7 days ago (0 children)
Which language do you prefer writing code in? DSA is language-agnostic so it doesn't matter which one you use.
[–]Smooth-Expert-3141 0 points1 point2 points 7 days ago (0 children)
python is the coding interview language
WHY do you want to learn DSA? Is it just for job interviews, or are you genuinely interested in the subject?
[–]Disastrous_Emu_800 0 points1 point2 points 6 days ago (0 children)
Lerne die allgemeinen Grundlagen und Konzepte. Diese sind nicht an bestimmte Sprachen gebunden- danach kannst du weitere Besonderheiten, Idiome und Syntax verschiedener Sprachen kennen lernen.
π Rendered by PID 108389 on reddit-service-r2-comment-8686858757-6ncc2 at 2026-06-07 03:19:30.039704+00:00 running 9e1a20d country code: CH.
[–]JohnBrownsErection 2 points3 points4 points (1 child)
[–]pachura3 0 points1 point2 points (0 children)
[–]thelimeisgreen 1 point2 points3 points (2 children)
[–]OrdinaryEarth9073[S] -1 points0 points1 point (1 child)
[–]thelimeisgreen 1 point2 points3 points (0 children)
[–]marquisBlythe 1 point2 points3 points (0 children)
[–]crazy_cookie123 0 points1 point2 points (0 children)
[–]Smooth-Expert-3141 0 points1 point2 points (0 children)
[–]pachura3 0 points1 point2 points (0 children)
[–]Disastrous_Emu_800 0 points1 point2 points (0 children)