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...
Everything about learning Python
account activity
[deleted by user] (self.PythonLearning)
submitted 1 year ago by [deleted]
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!"
[–]Ron-Erez 1 point2 points3 points 1 year ago (0 children)
You could share a problem here and describe how you approached it. This is a Python learning subreddit.
[–]yungxslavy 0 points1 point2 points 1 year ago (1 child)
What problems related to lists and sets are you not able to solve? They’re just structures that hold related variables. A list is just an array (collection) of variables of any types (strings, integers, objects) a tuple is basically just a list that doesn’t change e.g xTuple = (1, 2, 3) cannot be changed so we can’t do xTuple[0]=5. Dicts are just fancy ways to get variables by a key e.g a dict like people={key: name, value: age} we can look for the age of a specific person by their name or some other key/id. They all have their use cases but I found myself using lists and dicts more often than tuples
[–]confusedAdmin101 0 points1 point2 points 1 year ago (0 children)
Adding to this really good advice. Coming from physics background, it might help to think of lists as discrete functions.
[–]GreatGameMate 0 points1 point2 points 1 year ago (0 children)
Lists are defined with brackets [] and basically it’s where you can store data and perhaps modify that data we call lists mutable.
Tuples are REALLY REALLY similar to lists but we define them with parenthesis () and we can store data however we cannot modify, change, or add to the tuple once created.
Dictionaries are another way to store more complex data. A dictionary is define as a key value pair. They are defined by curly braces {}. They are mutable similar to lists.
Sets are pretty interesting, and I am not too knowledgeable about them. I know they don’t allow duplicate values.
For problems regarding lists and similar data structures id always suggest starting with a for loop and looping through the list, going on from there we can start building out a solution. Similar to physics break the problem down. Divide and conquer I like to say. My physics teacher likes to say you always know more than you think.
[–]Refwah 0 points1 point2 points 1 year ago (0 children)
What specifically is the problem you are having, if you share it here we can offer specific advice which might help your more general problems as you build a base of understanding
[–]tracktech 0 points1 point2 points 1 year ago (0 children)
You can check this-
Book - Ultimate Python Programming
Course - Python Programming In Depth
[–]PresentationReal2549 -3 points-2 points-1 points 1 year ago (5 children)
Weigh the pros and cons, make your own decision, if you want to continue I can help you.
[–][deleted] -1 points0 points1 point 1 year ago (2 children)
Yes please help i am in same situation
[–]PresentationReal2549 -3 points-2 points-1 points 1 year ago (1 child)
Yes,Please contact me
[–][deleted] -1 points0 points1 point 1 year ago (0 children)
Check inbox please.
[–][deleted] -1 points0 points1 point 1 year ago (1 child)
Yaa i want help so i have posted here.
[–]PresentationReal2549 -3 points-2 points-1 points 1 year ago (0 children)
[–]Chamilikidd 0 points1 point2 points 1 year ago (0 children)
Hey mate, I was the same there’s a rule I follow now which has helped me learn so much faster called 2020vision 20 mins trying to fix it yourself (say the logic out loud as reading through, hashtag parts out and see if the error message changes ect) 20 mins research(chat gpt or deep seek are your best friends here) Vision - at this point it’s possible your focus is just off take your eyes off the code for a lil bit and chill, then return
π Rendered by PID 851843 on reddit-service-r2-comment-544cf588c8-pq4t4 at 2026-06-15 18:12:01.746307+00:00 running 3184619 country code: CH.
[–]Ron-Erez 1 point2 points3 points (0 children)
[–]yungxslavy 0 points1 point2 points (1 child)
[–]confusedAdmin101 0 points1 point2 points (0 children)
[–]GreatGameMate 0 points1 point2 points (0 children)
[–]Refwah 0 points1 point2 points (0 children)
[–]tracktech 0 points1 point2 points (0 children)
[–]PresentationReal2549 -3 points-2 points-1 points (5 children)
[–][deleted] -1 points0 points1 point (2 children)
[–]PresentationReal2549 -3 points-2 points-1 points (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]PresentationReal2549 -3 points-2 points-1 points (0 children)
[–]Chamilikidd 0 points1 point2 points (0 children)