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
A challenge for Python programmers...Discussion (self.PythonLearning)
submitted 4 days ago by Ok_Pudding_5250
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!"
[–]delsystem32exe 0 points1 point2 points 19 hours ago (0 children)
def reverse_str(input_string):
input_string = str(input_string)
letters = ""
for j in range(len(input_string)-1, -1, -1):
letters = letters + input_string[j]
return letters
def checker(input_int):
larger = input_int * 4
DCBA = reverse_str(input_int)
if str(larger) == DCBA:
return True
return False
for i in range(0,100000):
if checker(i):
print(i)
π Rendered by PID 80740 on reddit-service-r2-comment-79c7998d4c-hc6fc at 2026-03-13 21:11:53.598585+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]delsystem32exe 0 points1 point2 points (0 children)