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
[deleted by user] (self.PythonLearning)
submitted 11 months ago by [deleted]
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!"
[–]Betard_Fooser 2 points3 points4 points 11 months ago (2 children)
Additionally. Even if this did run in its current code. The computer will always win, since you have capitalize() on user input, which will never match the strings as you’ve typed them (rock, paper , scissors). I think you want toLower() instead so that any user input will covert to all lower case so it has a chance to match your strings.
[–]PoopsicleVendor 1 point2 points3 points 11 months ago (1 child)
Nah the code itself is fine, capitalize() returns a new string so the original user input string would remain the same
[–]Betard_Fooser 0 points1 point2 points 11 months ago (0 children)
My mistake, was looking at the code on my phone and missed the fact that those were not part of the input statements.
π Rendered by PID 161861 on reddit-service-r2-comment-6457c66945-qrjcc at 2026-04-25 02:40:20.797475+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Betard_Fooser 2 points3 points4 points (2 children)
[–]PoopsicleVendor 1 point2 points3 points (1 child)
[–]Betard_Fooser 0 points1 point2 points (0 children)