Input two numbers and work out their sim, subtraction, multiplication, division, remainder, average and sum of the squares of the numbers.

Answers

Answer 1

def ultimate_math (num1, num2):

try:

array_num = [num1, num2]

print (num1 + num2)

print (num1 - num2)

print (num1 * num2)

print (num1 / num2)

print (num1 % num2)

print ((num1 + num2) / (len(array_num)))

print ((num1**2) + (num2**2))

except ValueError:

return "Invalid Input"

user_num1 = float (input (" Please enter a num: "))

user_num2 = float (input (" Please enter a second num: "))

print (ultimate_math (user_num1, user_num2))


Related Questions

Does the cloud solution offer equal or greater data security capabilities than those pro-vided by your organization’s data center?

Answers

Answer:I think greater. Answer my question that I posted plz

Explanation:

When we have signals within 1-2 MHz band, using a waveguide is the most preferred choice for a transmission line. T or F?​

Answers

Answer:

T

Explanation:

Strong emotions can interfere with your ability to
A. make wise decisions.
B. think and reason.
C. judge risks.
D. all of the above

Answers

All of the above

All emotions cloud judgement, but anger is the worst

Hope this helps ♥︎

Strong emotions can interfere with your ability to make wise decisions, think and reason, and judge risk. The correct option is (D).

Strong emotions can indeed interfere with a person's ability to make wise decisions, think clearly and reason logically, and accurately judge risks.

Emotions have the potential to cloud judgment, bias perception, and impede rational thinking, which can impact decision-making processes.

Therefore, Strong emotions can interfere with your ability to make wise decisions, think and reason, and judge risk. The correct option is (D).

To know more about the emotions:

https://brainly.com/question/14587591

#SPJ4

A user in an apartment building on a wireless network is no longer able to print to the network printer. The user has been able to print to the printer in the past and nothing on the network has changed. A technician notices that the user has a different IP address scheme than what was originally setup and is able to browse the Internet using that IP address scheme. What should he do?

Answers

Answer:

The technician should either provide a route from the user's IP scheme to the printer or change the user's IP scheme to be within the same scheme as the printer.

Explanation:

The most likely reason the user is unable to print to the printer is that the user's computer cannot path the current address to the address of the printer.  Without the printer being on the same subnet as the user's computer, the computer has no way of being able to tell where the printer is.

The two solutions to this are to either add a route to the user's computer explicitly telling the user's computer where to trace to find the printer or to change the user's computer to match the IP scheme of the printer.

Cheers.

What is also known as computer Network?

Answers

The best-known computer network is the Internet. Network computer devices that originate, route and terminate the data are called network nodes. Nodes can include hosts such as personal computers, phones,servers as well as networking hardware.

is there similarities between plagiarism and software piracy? explain.​

Answers

PlagiarismPlagiarism means using someone else's ideas or words without crediting source.PiracyPiracy is unauthorized use, reproduction, or sharing of copyrighted material.

Determine the median paycheck from the following set:

{$100, $250, $300, $400, $600, $650}

$300

$350

$450

$600

Answers

Answer:

My answer to the question is $350.

The middle numbers are $300&$400.

300+400=700/2=350.

Answer:

$350

Explanation:

Write a pseudocode For loop that displays all the numbers from 0 to 5, one at a time. We have the following pseudocode so far. Declare Integer number Write this statement Display number End For Type the exact text for the line of pseudocode that should replace Write this statement shown above.

Answers

Answer:

The statement is:

For number = 0 to 5

Explanation:

Given

The incomplete pseudocode

Required

The loop statement to complete the pseudocode

To loop from 0 to 5, we make use of:

For number = 0 to 5

Where:

number is the integer variable declared on line 1

So, the complete pseudocode is:

Declare Integer number

For number = 0 to 5

Display number

End For

Which type of user profile is stored in the C:\Users folder and is automatically created when a user logs on to the computer for the first time?

Answers

Answer:

a. Local user profile.

Explanation:

Local user profile is a type of user profile which is stored in the C:\Users folder and is automatically created when a user logs on to the computer for the first time and it is being stored on the local hard disk of the computer.

Generally, in Microsoft windows any change made to the local user profile is peculiar to the user and the host computer on which the change is made.

Hence, local user profiles avails several users the opportunity of sharing a single computer with their respective user settings and data.

the base on which the number n=(34)? is written if it has a value of n= (22)10​

Answers

If I'm understanding the question correctly, you are looking for an integer b (b ≠ 0, b ≠ 1) such that

[tex]34_b = 22_{10}[/tex]

In other words, you're solving for b such that

b ¹ + 4×b ⁰ = 22

or

3b + 4 = 22

Solving this is trivial:

3b + 4 = 22

3b = 18

b = 6

So we have

34₆ = 22₁₀

is badlion safe and how ?

Answers

Answer:

Yes, badlion is safe. The further explanation is given below.

Explanation:

Badlion Client does not encompass any malicious programs, like viruses and sometimes malware.Badlion application is pretty much safe to be used on inequality in society because most expressly forbidden plugins like decided to post as well as schematics become unavailable on the client-side whenever you enter Hypixel, but that is not a confirmation and therefore should not be depended towards.

Write down the complete AJAX code to avoid page caching.

Answers

Answer:

AZAX is key sentence for without reloading page.

Explanation:

AJAX is also known as XHR. If some one wants to send the file without reloading then look ahead at the search function and prompt the users by auto saving the documents. This request is sent to the server. The server return the data to your network. Whenever you have seen the file form, some action on the page. You will see some request from AJAX server request on your functional area. AJAX is called a reloading file without page. AZAX is stands for Asynchronous java scripts And XML. AJAX is used to send an email. AZAX is not used in front end, it is used from back end process.

Objects for AJAXJava ScriptWord Press Action.ProtectionError handling process

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes.
A. True
B. False

Answers

Explanation:

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes is true

Review the given requirements using the checklist and discover possible problems with them. The following requirements are for a library system which is an interactive system providing access to a large document database and which allows the automated ordering and electronic delivery of documents to local and remote end-users. Some requirements for this system are: Req. 1 The user interface shall be html. Users shall access the system via standard web browsers such as Netscape and Internet Explorer. Req. 2 The system shall primarily an end-user system. Users shall use the system within the constraints of the permissions assigned by the administrator to identify, locate, order and receive documents. Req. 3 Users shall communicate with the system mainly via the html interface. Req. 4 User shall provide input to the system via the html interface. Req. 5 The system shall give output to the user via the html interface, email and print. The print output shall mainly be documents.

Answers

Answer:

Redundancy

Req. 1 and Req. 3 are seemed to say the same thing. We need to remove the first sentence in Req. 1

Conflict and understandability

Req. 1 states that access is through web browser while Req. 4 states that access is via html. We have to re-write the Req. 3 to make it clear that users do not actually have to write directly html to communicate with the system.

Completeness

Req. 5 states that print out will “mainly” be documents. What else might be printed? What other inputs will be produced?

Either remove mainly or clarify other print out.

What version of html or web browser is assumed in Req. 1 and Req. 3?

Explanation:

Suppose a Huffman tree is to be built for 5 characters. Give a set of 5 characters, and their distinct probabilities (no duplicates), that would result in the tallest possible tree. Show the tree. Derive the average code length: write the expression, you don't have to simplify it down to a single value.

Answers

I love chipotle do you live chipotle

GIVING BRANLIEST IFFF CORRECT James uses a database to track his school football team. Which feature in a database allows James to list only the players that didn't play in the last game? Title Filter Search Sort

Answers

Answer:

filter

Explanation:

the filter feature allows him to fetch data that only meets a certain criteria(those who didn't play in the last game)

The FILTER feature in a database allows James to list on the players that did not play in the game.

What is the filter feature in EXCEL?

The FILTER feature in Excel is used to clear out a number of statistics primarily based totally on the standards which you specify. The feature belongs to the class of Dynamic Arrays functions.

The end result is an array of values that mechanically spills into a number cells, beginning from the Cells wherein you input a formula.

Thus, The FILTER feature in a database allows James to list on the players that did not play in the game.

Learn more about FILTER feature here:

https://brainly.com/question/11866402

#SPJ2

Which one is the result of the output given by a computer
I​

Answers

Explanation:

Instruction , data and information all of these.

How does the teacher know you have completed your assignment in Google Classroom?

Answers

Answer:

When students have completed the assignment, they simply click the Mark As Done button to let the teacher know they have finished.

Explanation: Note: The teacher does NOT receive an alert or email notification when work has been turned in, or marked as done.

Which recovery method helps users boot into an environment to get them back into the system so they can begin the troubleshooting process

Answers

Answer:

sfadasda

Explanation:

dsadasdadas

Show using a cross-product construction that the class of regular languages is closed under set difference. You do not need an inductive proof, but you should convincingly explain why your construction works.

Answers

Answer:

The class definition for Javascript:

var Class = {

      arguments of the class object are initialized here;

}

This class definition for Python:

class "class_name"( object ):

      def __init__(self, arguments are passed are and initialized after the closing parenthesis)

Explanation:

Object-oriented programming languages are vital tools in creating data structures that are meant to be changeable, unindexed but directly accessible knowing the key value, and has unique membership.

This clearly is an adoption of the set data structure rule in creating a data structure blueprint that can be instantiated anytime in the code.

The first electric, general-purpose computer, ENIAC, was programmed by calculating algorithms on paper entering code directly into the computer flipping switches by hand using MS-DOS as the operating system

Answers

Complete Question:

The first electric, general-purpose computer, ENIAC, was programmed by?

Group of answer choices.

A. Calculating algorithms on paper.

B. Entering code directly into the computer.

C. Flipping switches by hand.

D. Using MS-DOS as the operating system.

Answer:

C. Flipping switches by hand.

Explanation:

The first electric, general-purpose computer, ENIAC, was programmed by flipping switches by hand.

ENIAC is an acronym for Electronic Numerical Integrator and Computer, it was developed in 1945 by John Mauchly and J. Presber Eckert. ENIAC was used for solving numerical problems or calculation-related tasks by the process of reprogramming.

In order to give the ENIAC a series of machine instructions to follow in the execution of a task, the programmers had to undergo the cumbersome procedure of connecting, removing, reconnecting cables and flipping switches by hand because data couldn't be stored in memory.


A high school in a low-income area offers special programs to help students acquire the technical skills needed to find jobs as computer technicians
This program is most strongly related to which aspect of life?

Answers

Answer:

Economy

Explanation:

Education geared towards readying students to become an employable technician or becoming skilled in a particular craft are known as vocational education. Vocational education, otherwise known as career and technical education is provided by a vocational school

It is suggested that there should be wider range of educational coverage between higher education and vocational educational due to the increasing importance of the use of technology in the workplace

As such technical vocational education is generally taken as an important tool to grow the economy while particularly reducing the unemployment among the youth.

Complete method printPopcornTime(), with int parameter bagOunces, and void return type. If bagOunces is less than 2, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print 6 * bagOunces followed by " seconds". End with a newline. Example output for ounces = 7:
42 seconds
import java.util.Scanner;
public class PopcornTimer {
public static void printPopcornTime(int bagOunces) {
/* Your solution goes here */
}
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
int userOunces;
userOunces = scnr.nextInt();
printPopcornTime(userOunces);
}
}

Answers

Answer:

Replace

/* Your solution goes here */

with

if (bagOunces < 2) {

   System.out.print("Too Small");

}

else if(bagOunces > 10) {

   System.out.print("Too Large");

}

else {

   System.out.print((bagOunces * 6)+" seconds");

}

Explanation:

This line checks if bagOunces is less than 2;

if (bagOunces < 2) {

If yes, the string "Too Small" is printed

   System.out.print("Too Small");

}

This line checks if bagOunces is greater than 10

else if(bagOunces > 10) {

If yes, the string "Too Large" is printed

   System.out.print("Too Large");

}

The following condition is executed if the above conditions are false

else {

This multiplies bagOunces by 6 and adds seconds

   System.out.print((bagOunces * 6)+" seconds");

}

Consider two different processors P1 and P2 executing the same instruction set. P1 has a 3 GHz clock rate and a CPI of 1.5. P2 has a 3 GHz clock rate and a CPI of 1.0. Which processor has the highest performance expressed in instructions per second

Answers

Answer:

Processor P2 has the highest performance expressed in instructions per second.

Explanation:

Given:

Processors:

P1

P2

Clock rate of P1 = 3 GHz

Clock rate of P2 = 3 GHz

Cycles per instruction = CPI of P1 = 1.5

Cycles per instruction = CPI of P2 = 1.0

To find:

which processor has the highest performance in instructions per second (IPS)

Solution:

Compute CPU time:

CPU time =  (Number of instructions * cycles per instruction) / clock rate

CPU time = (I * CPI) / R

We are given the CPI and clock rate. So

CPU time = (I * CPI) / R

 I / CPU time = R/CPI

Since

Instructions per second = Number of instructions (I) / execution time

                             IPS     = I / CPU time

So

Instructions Per Second = clock rate / cycles per instruction

IPS = R/CPI

Putting the values in above formula:

Instructions Per Second for P1 = IPS (P1)

                                                  = clock rate P1 / CPI (P1)

                                                  = 3 GHz / 1.5

                                     IPS (P1) = 2            

As 1 GHz = 10⁹ Hz

IPS (P1) = 2x10⁹

Instructions Per Second for P2 = IPS (P2)

                                                  = clock rate P2 / CPI (P2)

                                                  = 3 / 1.0

                                     IPS (P2) = 3

As 1 GHz = 10⁹ Hz

IPS (P2) = 3x10⁹

Hence processor P2 has the highest performance expressed in instructions per second i.e. 3x10⁹

In what tab can a user find the workspace option?

Answers

D. View.
You can find the workspace and preview of the file in View.

A good machine should have the mechanical advantage of......?​

Answers

Answer:

The ideal mechanical advantage (IMA) of an inclined plane is the length of the incline divided by the vertical rise, the so-called run-to-rise ratio. The mechanical advantage increases as the slope of the incline decreases, but then the load will have to be moved a greater distance.

Explanation:

within the report wizard which of the following would you change in order to view a report in landscape orientation

Answers

Answer: page orientation

Explanation:

Which octet of the subnet mask 255.255.255.0 will tell the router the corresponding host ID?The last octetThe first octetThe first and last octetThe middle two octets

Answers

Answer:

The last octet

Explanation:

Here in the question, given the sub net mask, we want to know which octet of the subnet mask will tell the router the corresponding host ID.

The correct answer to this is the last octet. It is the last octet that will tell the router the corresponding host ID

This method adds newValue to the list at the specified index. If the index is invalid for the list, throw an IndexOutOfBoundsException. Note that the last valid index is the size of the list; this would mean adding to the back of the list. Call any existing methods of LinkedList and LLNode as needed.

Answers

Answer:

i dont know

Explanation:

Software that is used to obtain private user information such as a user's keystrokes or copies of e-mail is referred to as: Question 6 options: A) botnet B) adware. C) a backdoor. D) spyware.

Answers

Answer:

The correct answer is D) Spyware.

Explanation:

Also known as a Malicious Software (or Malware for short), a Spyware is designed to gain unsolicited entrance into ones computer and when executed, performs the function of illegally stealing one's private information and sending them to the hacker or originator of the software.

The following have been identified as spyware threats:

Transponder (vx2) Hot as HellBlazeFindInternet Optimizer

Cheers!

Other Questions
Please help me find limit How did humanism impact Europeans thinking about government?O Power was seen as evil.O Revolutions were expected.O Political debates were encouraged.O God was accepted as the ultimate power.7How did humanism impact Europeans thinking about government solve the equation:|x+3| >2x-1 If forces acting on an object are unbalanced, the object could experience a change in ________. Write any two advantage of preserving our cultural heritage The price of oil in the United States has been very volatile over the last 50 years, with the real price of oil showing a few dramatic swings. When did these swings occur, and what can explain them? The first dramatic swing happened in the 1970s when there was a sharp drop rise in the real price of oil caused by a large financial crisis the formation of OPEC increased demand from emerging economies . The second swing happened in the 2000s when there was a sharp rise drop in the real price of oil caused by increased demand from emerging economies a large financial crisis the formation of OPEC . The most recent swing happened in 2008 when there was a sharp rise drop in the real price of oil caused by A company ships coffee mugs using boxes in the shape of cubes. The function g(x) = gives the side length, in inches, for a cube with a volume of x cubic inches. Suppose the company decides to double the volume of the box. Which graph represents the new function? The mean number of years employees stay with a company is 12 years with a population standard deviation 4 years. The distribution of years has a left skewed shape. The probability that the mean years of staying in the company for a randomly selected sample of 36 will be more than 14 years is find the supplement of 3/4 of a right angle If LM = x + 3, MN = 2x and LN = 24, what does x equal a) Simplify the expression and explain each step. (2 points)4(3x+2) -2= ? "On a scale of one to ten, where one means "Disagree strongly" and ten means "agree strongly," please give a rating of the idea that there is a problem with police violence in the United States." This question, if used in a research study, is an example of a(n) ________ scale. Select the correct answer.Which process is a physical change?A.iron rustingOB.milk turning to curdwater boilingD.paper burningE.hard water staining pipes Did the Aztecs bungee jump? In the United States, many agricultural products (such as corn, wheat, and rice) are subsidized. What are the benefits of subsidizing these products? Instructions: You may select more than one answer. . a) higher prices for consumers and producers b) lower prices for consumers and producers c) higher prices for consumers and lower prices for producers d) lower prices for consumers and higher prices for producers Read the image for instructions What is the probability of randomly picking a red marble from a bag of 10 green marbles, 10 yellow marbles, and 5 red marbles? Can somebody please help me Find the value of the test statistic z using . The claim is that the proportion of adults who smoked a cigarette in the past week is less than , and the sample statistics include n subjects with saying that they smoked a cigarette in the past week. The white-tailed ptarmigan lives at high elevations on mountains that receive a lot of snow in the winter. During the summer, the ptarmigans feathers are mottled brown. The birds lose the brown feathers and grow a new set of white feathers during the winter. Scientists are concerned that rising global temperatures will affect the white-tailed ptarmigan. If global climate change leads to the elimination of snow in the habitat of white-tailed ptarmigans, which adaptation is most likely to occur over many generations? A.Birds with white feathers in areas without winter snow will be easier for predators to find. Over time this could lead to white-tailed ptarmigans that have brown feathers throughout the year. B.Birds with brown feathers in areas without winter snow will be easier for predators to find. Over time this could lead to white-tailed ptarmigans that have white feathers throughout the year. C.Birds with white feathers will be easier to see on the ground in the summer. Over time this could lead to white-tailed ptarmigans that have white feathers throughout the year. D.Birds with brown feathers will be easier to see on the ground in the winter. Over time this could lead to white-tailed ptarmigans that have brown feathers throughout the year.