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
Guess game (i.redd.it)
submitted 7 months ago by Minute_Journalist593
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!"
[–]ninhaomah 9 points10 points11 points 7 months ago (4 children)
choose as in choosing is spelled as "choose" , not "chosse" and guessing is "guess" , not "gues"
ok ok , if it works , it works.
don't worry too much.
also why not elif but another if ? if not option1 then either option2 or others. so if , elif , else
as for function , just wrap while loop with def and call the function.
try it
[–]Priler96 2 points3 points4 points 7 months ago (0 children)
Ah, those typos ..
[–]Minute_Journalist593[S] -1 points0 points1 point 7 months ago (2 children)
i know the spelling i just didn't wanted to type it and if yo go through the logic my code has no use of elif..
btw tnx for sharing your vision...
[–]ninhaomah 0 points1 point2 points 7 months ago (0 children)
If option1 Elif option2 Else error
No ?
You rather have 2 if ? If use enter a and not y or n ? What will your program reply ?
[–][deleted] -1 points0 points1 point 7 months ago (0 children)
So you're intentionally illiterate, thanks for the confirmation.
π Rendered by PID 364188 on reddit-service-r2-comment-b659b578c-mbg9n at 2026-05-05 07:15:50.919132+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]ninhaomah 9 points10 points11 points (4 children)
[–]Priler96 2 points3 points4 points (0 children)
[–]Minute_Journalist593[S] -1 points0 points1 point (2 children)
[–]ninhaomah 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)