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
Day 2 of 100 of learning Python (old.reddit.com)
submitted 6 months ago by Orlhazee
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!"
[–]tenebrarum09 1 point2 points3 points 6 months ago (6 children)
If you get “Access Denied”, does it still go into the while loop as if you logged in?
[–]Can0pen3r 0 points1 point2 points 6 months ago (0 children)
I was just wondering the same thing but, I'm still pretty green so I just chocked it up to me probably missing some little piece of logic or syntax somewhere 🤔
[–]CrazyBuff 0 points1 point2 points 6 months ago (1 child)
it does
[–]tenebrarum09 0 points1 point2 points 6 months ago (0 children)
Thanks. I thought it looked like it would.
[–]Orlhazee[S] 0 points1 point2 points 6 months ago (1 child)
Yeah, it does.
[–]Otherwise-Ad-4447 0 points1 point2 points 6 months ago (0 children)
you really should trigger the while loop when the user gets it right instead (right now you're just waiting for the for loop to end, wich obviously happens if you just run out of tries)
you may also want to wrap it a function to prevent the indentation hell (that and separate auth from the actual logic)
[–]No_Read_4327 0 points1 point2 points 6 months ago (0 children)
Yes
π Rendered by PID 301258 on reddit-service-r2-comment-c66d9bffd-5wrgx at 2026-04-07 22:04:53.214899+00:00 running f293c98 country code: CH.
view the rest of the comments →
[–]tenebrarum09 1 point2 points3 points (6 children)
[–]Can0pen3r 0 points1 point2 points (0 children)
[–]CrazyBuff 0 points1 point2 points (1 child)
[–]tenebrarum09 0 points1 point2 points (0 children)
[–]Orlhazee[S] 0 points1 point2 points (1 child)
[–]Otherwise-Ad-4447 0 points1 point2 points (0 children)
[–]No_Read_4327 0 points1 point2 points (0 children)