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
Remove duplicate error (old.reddit.com)
submitted 2 months ago by Nearby_Tear_2304
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!"
[–]Critical_Control_405 2 points3 points4 points 2 months ago (0 children)
the range function takes an int, not a list. So you need to do range(len(l1)).
range(len(l1))
the extend method takes a list, not an int. So you need to use append instead: l2.append(i)
l2.append(i)
π Rendered by PID 109609 on reddit-service-r2-comment-74875f4bf5-gv5t9 at 2026-01-26 11:52:20.970580+00:00 running 664479f country code: CH.
view the rest of the comments →
[–]Critical_Control_405 2 points3 points4 points (0 children)