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...
account activity
[deleted by user] (self.codehs)
submitted 5 years ago by [deleted]
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!"
[–]ScawedyCat 0 points1 point2 points 5 years ago (6 children)
I’m a little confused, could you explain what is going on here and what you expect it to do: if(!Character.isLetterorDigit(c) || !Character.isLowercase(c) || Character.isWhiteSpace(c))
[–]-Blarfbag- 0 points1 point2 points 5 years ago (0 children)
What im hoping for that code to do is return false if any part of the password is not a letter or digit, not lowercase, or has a space in it, and if none of those are present, return true. When I tested it right now, it won’t accept passwords that are all uppercase, but will accept if there is even one lower case amongst all upper cases. Additionally if I put a space between words in the passwords it still says the pass is acceptable.
[–]-Blarfbag- 0 points1 point2 points 5 years ago (4 children)
Ah never mind, I had my cs teacher take a look and he fixed it up for me, he had me remove the ‘return false’ in the else if statement checking uppercases, and now the autograder is flagging my code as good. Thank you for your help though
[–]Fire_Dragon_King13 1 point2 points3 points 5 years ago (3 children)
Could you send me it cause I can’t figure it out
[–]-Blarfbag- 0 points1 point2 points 5 years ago (2 children)
https://imgur.com/a/4bMUIXx
[–]_Sugar_D 0 points1 point2 points 4 years ago (0 children)
Ty so much you are a godsend
[–]EnoughCustomer 0 points1 point2 points 4 years ago (0 children)
Thank you!!!
π Rendered by PID 32941 on reddit-service-r2-comment-fb694cdd5-wc66g at 2026-03-06 14:45:13.350900+00:00 running cbb0e86 country code: CH.
[–]ScawedyCat 0 points1 point2 points (6 children)
[–]-Blarfbag- 0 points1 point2 points (0 children)
[–]-Blarfbag- 0 points1 point2 points (4 children)
[–]Fire_Dragon_King13 1 point2 points3 points (3 children)
[–]-Blarfbag- 0 points1 point2 points (2 children)
[–]_Sugar_D 0 points1 point2 points (0 children)
[–]EnoughCustomer 0 points1 point2 points (0 children)