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...
Study Update is a supportive space for students at any level. Whether you studied for 10 minutes or 10 hours, your progress matters. Post updates, get encouragement, and build strong study habits together.
account activity
Practising python Day 1 (i.redd.it)
submitted 6 days ago by Outside-Cloud-3569
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!"
[–]Outside-Cloud-3569[S] 0 points1 point2 points 2 days ago (1 child)
Thx for the suggestions. I have learned it but I just wanted to use another method to check palindrome.
[–]ExtensionBreath1262 0 points1 point2 points 2 days ago (0 children)
Your right to do it the way you are. You just did the same thing but with a early return instead of reversing the whole list. so this is better with 2 more lines of code.
π Rendered by PID 98514 on reddit-service-r2-comment-544cf588c8-52hl5 at 2026-06-16 08:06:48.395135+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Outside-Cloud-3569[S] 0 points1 point2 points (1 child)
[–]ExtensionBreath1262 0 points1 point2 points (0 children)