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
wolverine [178]
3 years ago
12

Design a program using Python to subtract two numbers

Computers and Technology
1 answer:
erastovalidia [21]3 years ago
7 0

Answer:

num1 = int(input("What is your first number? >: "))

num2 = int(input("What is your second number? >: "))

if num1 >= num2:

    answer = num1 - num2

else:

    answer = num2 - num1

print("Your answer is " + str(answer))

Explanation:

This won't loop though :(

You might be interested in
Evaluate how suitable the hardware would be for:
almond37 [142]

Answer:

What hardware and software support might be used to develop the system and operate?

von-Neumann architecture of the computer. Von-Neumann computer consists of two main components: memory and CPU. ...

Application Software. An application software is a computer program designed to perform a group of coordinated functions, tasks, or activities. ...

Operating System. ...

CPU. ...

Storing device. ...

RAM. ...

Motherboard. ...

Bits and bytes.

Explanation:

4 0
3 years ago
What is computer hardware / software​
Pavel [41]

Answer: <u>Computer hardware is any physical device used in or with your machine, like for example, a mouse, or a keyboard.</u> Computer software is a collection of programming code installed on your computer's hard drive it can process billions of data and inputs through this.

Hope this helps!

5 0
3 years ago
I need this ASAP!
Elanso [62]

Answer:

b

Explanation:

4 0
3 years ago
Read 2 more answers
A group of researchers is designing an experiment to test whether meditation helps people fall asleep faster. The researchers se
storchak [24]

Answer:

Option 4 is the correct answer.

Explanation:

<h2>Randomization eliminates lurking variables from the experiment.</h2><h2 />

Randomization is adopted due to the fact that it removes lurking variables. By lurking variables we mean the extraneous variables which are unknown but can effect the other variables that are of interest.

Randomization is necessary in experiments to ensure that the generated result may not be biased or misleading.

<h3>I hope it will help you!</h3>
3 0
3 years ago
What is the purpose of HTML?
Basile [38]
You can style and structure with it so it’s either one of those
3 0
3 years ago
Other questions:
  • Stan is looking at cloud computing options for his business needs. He wants a model that helps his business customers and client
    12·2 answers
  • A university wants to install a client-server network. Which feature do you think is important for them as they set up the netwo
    8·1 answer
  • Which of the following is typically not found in web page-authoring software
    9·1 answer
  • How many fonts are there in a theme?<br> A. 1<br> B. 2<br> C. 4<br> D. 5
    10·1 answer
  • A merge is _____.
    5·2 answers
  • How do you bookmark a website in each of the internet browsers?
    9·1 answer
  • A telephone repair technician uses a meter to measure voltage on a phone line. This meter is an example of _____.
    10·2 answers
  • Select the correct term to complete the sentence.
    7·1 answer
  • Why do we need to know the different Networking Devices?​
    10·1 answer
  • How do I fix when it hits the second session it skips scanf..
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!