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
antiseptic1488 [7]
3 years ago
6

PLEASE HELP ITS CODING AND I INCLUDED A SCREENSHOT OF WHAT TO DO

Computers and Technology
2 answers:
elixir [45]3 years ago
7 0

num1 = float(input("Enter your first number: "))

num2 = float(input("Enter your second number: "))

operation = input("What operation would you like to do? Type: add, subtract, multiply, or divide. ")

def add(n, n1):

   return n + n1

def subtract(n, n1):

   return n - n1

def multiply(n, n1):

   return n*n1

def divide(n, n1):

   return n/n1

if operation.lower() in ["add", "+"]:

   result = add(num1, num2)

   print(num1,"+",num2,"=",result)

elif operation.lower() in ["subtract", "-"]:

   result = subtract(num1, num2)

   print(num1,"-",num2,"=",result)

elif operation.lower() in ["multiply", "*"]:

   result = multiply(num1, num2)

   print(num1, "*", num2, "=", result)

elif operation.lower() in ["divide", "/"]:

   result = divide(num1, num2)

   print(num1, "/", num2, "=", result)

else:

   print("Not a valid operation.")

I wrote my code in python 3.8. I hope this helps.

madam [21]3 years ago
6 0

Answer:

I need to have better photos in order to assist you...

Explanation:

I will attempt to get back with you if you can provide more clearer photos.

You might be interested in
What are four different commands in Internet Explorer and identify their keyboard shortcuts
Zigmanuir [339]
<span>Ctrl + Q -  show all tabs
Ctrl + O - open a file
Ctrl + T - Open a New Tab
Ctrl + W -  close a tab

Hope This Helped <3
</span>
6 0
2 years ago
(ANSWER!)
andreev551 [17]

Answer:

it doesn't? maybe it helps by resetting it but other than that I don't think It does anything

4 0
3 years ago
Read 2 more answers
Make a hierarchical directory structure under /root that consists of one directory containing three subdirectories.
Alika [10]
You can make a hierarchical directory structure under /root that consists of one directory containing subdirectories  by using cd and mkdir
the mkdir command created the directories while the cd command changes which directory you're currently in
5 0
2 years ago
________ is malware that hijacks a user's computer and demands payment in return for giving back access.
Lera25 [3.4K]

Ransom  malware that hijacks a user's computer and demands payment in return for giving back access.

<h3>What is Ransom malware?</h3>

This is known to be a kind of  malware that hinders users from gaining in or access to their system or personal files and it is one that often demands ransom payment so as to get access.

Therefore, Ransom  malware that hijacks a user's computer and demands payment in return for giving back access.

Learn more about Ransom  malware from

brainly.com/question/27312662

#SPJ12

6 0
2 years ago
Under which tab can you find the options for reusing slides from other presentations
MrRissso [65]
U could first highlight text, right click then copy, and then Ctrl + v. You could find Ctrl (or control) under the shift button to your left
I hope this helped:D
5 0
3 years ago
Other questions:
  • Peter wants to submit his admission form online. What type of input element will allow him to enter his last name on the web pag
    6·1 answer
  • When paying bills online, a payee is:
    9·1 answer
  • __________ is a program that lets you share documents online with others.
    12·2 answers
  • What are the two types of computer keyboards and how are they different?
    6·2 answers
  • Anyone can help me please ?
    7·1 answer
  • What is the setting an alarm clock output??
    10·1 answer
  • B. Some of Company X's new practices and systems are unethical. Business ethics is a set of codes
    5·1 answer
  • Do software engineers save millions of dollars in usa
    6·1 answer
  • Web résumés allow you to include extra graphics and images that you would not include in a traditional résumé. please select the
    9·1 answer
  • Electronic résumés have an attractive, highly formatted appearance. please select the best answer from the choices provided t f
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!