1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olchik [2.2K]
3 years ago
15

Write a logical expression using only and, or and not that is equivalent to the Exclusive NOR (XNOR) gate on 2 inputs, called in

1, in2: If both inputs are True or both inputs are False (i.e. inputs have same value), then your expression should evaluate to True. Otherwise your expression should evaluate to False.
Computers and Technology
1 answer:
denis-greek [22]3 years ago
5 0

Answer:

in1 = int(input("Enter value one: "))

in2 = int(input("Enter value two: "))

print(in1,type(in1), in2, type(in2))

if (in1 <=0 and in2 <=0) or (not in1 <=0 and not in2<=0):

   print( True)

else:

   print( False)

Explanation:

The if statement of the python source code is used to implement an Exclusive-NOR logic gate that gives a true or high value if both inputs are either true or false.

You might be interested in
You are a solutions architect who works at a large retail company that is migrating its existing infrastructure to AWS. You reco
pantera1 [17]

In this case, there are 251 IP addresses available. They are unique addresses for the Internet Protocol.

<h3>What is an IP address?</h3>

An Internet Protocol (IP) address is a unique address on Internet, which is used to indicate a local network.

The term 'Internet Protocol' indicates the principles associated with the format of the data used by the local network.

An Internet Protocol address is always denoted by a set of numerical tags that indicate the local network.

Learn more about IP address here:

brainly.com/question/24930846

6 0
2 years ago
Please help me with this please and explain thanks
Luden [163]

Answer:

I think the first one us to create a link to a website

4 0
3 years ago
The term technology is derived from the Chinese word. it is true or false​
DiKsa [7]

Answer:

True

Explanation:

it's your perfect answers

4 0
3 years ago
Read 2 more answers
How to relaunch Yahoo mail? I keep getting error code 17 when I try to open my Yahoo mail. With the relaunch of the Yahoo! Mail
solmaris [256]
IM NOT SURE!!!!!!!........................................
3 0
4 years ago
3 countries that do not produce a lot of emissions but are responsible for the emissions from the production of all the things t
AURORKA [14]

Answer:

zjxnxnmznzxdjdjdjdjdddkdnnddndkkdmnd

5 0
3 years ago
Other questions:
  • Select the correct answer.
    5·1 answer
  • What command in windows re gives you the opportunity to manage partitions and volumes installed on the system?
    7·1 answer
  • When you save a Notepad file for the first time, you must also A. print a copy for your records. B. give it a name. C. check the
    11·1 answer
  • What will be the value of i after the C statements at the right have been executed
    6·1 answer
  • PLEASE HELP! Which aspect helps you to change the luminescence of your image?
    10·2 answers
  • 2) Describe how data becomes knowledge.​
    10·1 answer
  • Which statement is most likely to be true about a computer network?
    11·2 answers
  • I have a question. This question will probably be deleted, but why do moderators keep deleting my answers when they are legitima
    13·1 answer
  • What does it mean to influence the government? Use influence in a sentence.
    8·2 answers
  • Click this link to view O*NET’s Tasks section for Farmworkers and Laborers, Crop.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!