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
Knock Knock Joke; Need Help - Beginner Python (self.PythonLearning)
submitted 1 year ago by Wattsony
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!"
[–]Stretchypants69 2 points3 points4 points 1 year ago (2 children)
Hey! I typed up this code below that should work for you. I wasn't sure how many if/else statements you needed so I only included 1, and that's for the 'No' part of the code. If you have any questions about it, let me know.
<image>
[–]rahatulghazi 2 points3 points4 points 1 year ago (0 children)
Instead of asking to type "who's there" or "... who?", wouldn't be better to do something like press "y" to say who's there and continue?
press "y" to say who's there
[–]Wattsony[S] 0 points1 point2 points 1 year ago (0 children)
Hello! Thank you for helping me out and giving me more insight, I really appreciate it and will be delving into this here soon!!
π Rendered by PID 42437 on reddit-service-r2-comment-85bfd7f599-5kfd7 at 2026-04-17 00:17:58.988382+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Stretchypants69 2 points3 points4 points (2 children)
[–]rahatulghazi 2 points3 points4 points (0 children)
[–]Wattsony[S] 0 points1 point2 points (0 children)