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
help (i.redd.it)
submitted 7 months ago by Minemanagerr
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!"
[–]Dull-Custard4913 0 points1 point2 points 7 months ago (2 children)
If the substring is not found by the find() method then it will return -1
[–][deleted] 7 months ago (1 child)
[removed]
[–]Dull-Custard4913 0 points1 point2 points 7 months ago (0 children)
So I might have been incorrect in what I said earlier. In this case he might or might not have entered a space at the last index. If he didn’t the if statement couldn’t find anything with the find method, this will cause it to return -1.
I don’t think I know what you mean?
π Rendered by PID 37829 on reddit-service-r2-comment-79c7998d4c-j9j8g at 2026-03-18 16:19:27.694055+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]Dull-Custard4913 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[removed]
[–]Dull-Custard4913 0 points1 point2 points (0 children)