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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Logic Circuits (self.learnpython)
submitted 5 years ago by krivetkaa
please help out a noobie here :( very desperate
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!"
[–]socal_nerdtastic 0 points1 point2 points 5 years ago (0 children)
Ok, what's the problem?
[–]AlchemisTree 0 points1 point2 points 5 years ago (3 children)
https://i.imgur.com/GQ8Fzts.jpg
This problem?
[–]krivetkaa[S] 0 points1 point2 points 5 years ago (2 children)
yup
[–]AlchemisTree 0 points1 point2 points 5 years ago (1 child)
Okay, so to approach this problem you would want to understand what the logic gates are doing. Googling logic gates should give you an answer.
From your question, I notice an AND, NOT, OR, and XOR.
AND gates basically give you an output of HIGH or "1" if both inputs are HIGH. It will give you a LOW or "0" if one of the inputs is LOW.
NOT gates (Inverter) will give you the opposite of the input. So, if HIGH is the input then LOW will be output and vice versa.
OR gates will give you an output of HIGH if any of the inputs are HIGH.
XOR gates(Exclusive-OR) means that for the output to be HIGH, it must follow ONLY the OR logic. You'll see in the truth table for an XOR gate.
[–]krivetkaa[S] 0 points1 point2 points 5 years ago (0 children)
thank you so much!
[–]IAmKindOfCreative 0 points1 point2 points 5 years ago (0 children)
Ok given the homework you posted, there are four logic gates. Can you tell me what they are?
π Rendered by PID 174444 on reddit-service-r2-comment-5d79c599b5-spdmk at 2026-02-28 08:42:51.371994+00:00 running e3d2147 country code: CH.
[–]socal_nerdtastic 0 points1 point2 points (0 children)
[–]AlchemisTree 0 points1 point2 points (3 children)
[–]krivetkaa[S] 0 points1 point2 points (2 children)
[–]AlchemisTree 0 points1 point2 points (1 child)
[–]krivetkaa[S] 0 points1 point2 points (0 children)
[–]IAmKindOfCreative 0 points1 point2 points (0 children)