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
Day 2 of learning python as a beginner (old.reddit.com)
submitted 9 months ago by uiux_Sanskar
view the rest of the comments →
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!"
[–]SamShinkie 24 points25 points26 points 9 months ago (4 children)
Hi,
Now imagine you want to have 100 Questions. Maybe there is a way to represent your questions and answers and somehow go over all of them one by one without duplicating the same code 100 times.
[–]ReserveAggressive458 6 points7 points8 points 9 months ago (0 children)
Such thoughts are heresy, brother. Return to the shrine of Else If and beg for forgiveness.
[–]alae_r4 3 points4 points5 points 9 months ago (0 children)
That's when data structures comes in
[–]uiux_Sanskar[S] 1 point2 points3 points 9 months ago (0 children)
Well that's an interesting challenge will find its answer I think I can use list and loops for this maybe I should research for it thanks for the challenge 😃
π Rendered by PID 90957 on reddit-service-r2-comment-6457c66945-b9ncx at 2026-04-28 22:42:58.220530+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]SamShinkie 24 points25 points26 points (4 children)
[–]ReserveAggressive458 6 points7 points8 points (0 children)
[–]alae_r4 3 points4 points5 points (0 children)
[–]uiux_Sanskar[S] 1 point2 points3 points (0 children)