Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 300808

Symbolic representation of ideal devices implementing boolean functions

1 vote
3 answers
152 views

We want numbers that lie between 1 and 10 inclusive, why should I use OR gate instead of AND?

I know the answer, I need to use an OR gate because that is how the code works. I want to learn the problem solving part of this. The code that works is: if(x<1 or x>10): print("Error") else: …
zemvua's user avatar
  • 11