You want to use the dist() method. Which line will allow you to enter the following code in IDLE?
>>>dist([2.5).(5.9))
5.0
from dist import math
from math import dist
from random import dist
from dist import random

Answers

Answer 1

Answer:

from math import dist

Explanation:

The dist() method is a part of the math module. So, to include it you have to use the following line of code:

from math import dist

hope this helped :D

Answer 2

The line which will allows you to enter the following code in IDLE is from math import dist.

What is dist() method?

The dist() function can be used to calculate a distance matrix, which shows the distances between the rows of a matrix.

The dist() method is a part of the mathematics module. Then, for

>>>dist([2.5).(5.9))

5.0 ,

we have to use code in IDLE as;

from math import dist

Thus, the line which will allows you to enter the following code in IDLE is from math import dist.

Learn more about dist() method.

https://brainly.com/question/25373810

#SPJ2


Related Questions

Which one of the following four words is odd?

Peripheral
Programme
Application
Software

Answers

Answer:

Peripheral

Explanation:

It has nothing to do with the other words because it means that something is not as important as something else

Peripheral seems off since it’s unrelated to the other words and has no connection

Alizeh invests $10,000 in an actively managed mutual fund that has an annual expense ratio of 1.3%. The investment earns a 7% rate of return.

How much did she make in one year on her investment with the 7% rate of return?
How much does she pay in fees for her actively managed mutual fund?
At the end of the year, what’s the total value (AFTER FEES) of Alizeh’s mutual fund?

Answers

Answer:

Alizeh

The total value (AFTER FEES) of Alizeh’s mutual fund is:

$10,570.

Explanation:

a) Data and Calculations:

Investment in mutual fund = $10,000

Annual expense ratio = 1.3%

Rate of return on investment = 7%

b) Annual return on investment = $700 ($10,000 * 7%)

c) Annual fees for her actively managed mutual fund = $130 ($10,000 * 1.3%)

d) At the end of the year, the total value (after fees) of Alizeh's mutual fund:

Investment in mutual fund = $10,000

Annual return on investment = $700

Annual fees for mutual fund = ($130)

Total value =                         $10,570

The total amount at the end of the year is the sum of the Principal ,ROI and

the expense which is   $10,570

Mutual Fund/Investment

Given Data

Principal = $10,000Expense ratio = 1.3%Ratet = 7%

1. Let us find the ROI

= 7/00*10000

=0.07*10000

= $700

2. Let us find the fees/expense

= 1.3/100*10000

= 0.013*10000

= $130

hence the total amount at the end will be = 10,000+700+130 =   $10,570

learn more about mutual funds here:

https://brainly.com/question/25300925

I'm not sure if these are correct.

Answers

Answer:

All the mention codes are correct.

Explanation:  

In the task1, a "name" variable is declared, that store a string, and in the next step, the built-in method "title, lower and upper" is defined, in which the title method capitalized the first character of the given word in each sentence, upper method change each character into upper case and the lower method changes each character into lower case.

In task2, a message variable is declared, that holds a string value in which the count method is used that counts the space character value.

In task3, a string value is used in the message variable, which uses a replace method to change the given string value.

In task3, a response variable is declared that uses an input method for input a string value, and inside the print method, len method is used that counts each input character number.

Which are examples of digital video? Choose all that apply.

video played from a reel and shown at a drive-in movie theater

video downloaded from a website and played on a portable electronic device

video streamed from a broadcast news website

video played from a DVD player

Answers

Answer:

B, C, D

Explanation:

Edge 2021

     Digital video is the electronic representation of moving pictures as digital data that has been encoded. Contrasted with this is analogue video, which uses analogue signals to represent moving pictures. Digital video is made up of numerous digital images that are shown quickly one after the other.

DV is a type of video format ?

       In order to transfer DV signals between devices, they are encoded into 80-byte blocks known as DV-DIF data (DV Digital Interface Format). These DV-DIF blocks can either be stored as raw files with the.dv or.dif extension or wrapped in other file formats like AVI, QuickTime, and MXF.

         A file produced by a digital camera and saved in a common raw format is known as a digital video (DV) file. Each Digital Interface Block (DIF) in a DV file contains 80 bytes. Audio, video, and metadata can all be found in DIF blocks.

      Who or what uses DV?  A group of video camera manufacturers led by Sony and Panasonic introduced the DV family of codecs and tape formats for digital video storage in 1995.

      DV(digital video) is one kind of video file captured by dv camera, mini dv, and digital 8.

      DV mode – what is it? A video standard called DV (Digital Video) was introduced in 1996. It was developed by a group of businesses and given the official designation IEC 61834. There are a number versions of the DV standard, including DVCAM (Sony) and DVCPRO (Panasonic). Customers are familiar with MiniDV, DV's smaller format.

To Learn more About  digital video (DV), Refer:

https://brainly.com/question/19554652

#SPJ2

To ensure your online résumé is selected by employers using online searches, you must include _____ in your résumé.

html
key words
long descriptions
hyperlinks

Need answer asap!!

Answers

You must use key words.

A big part of SEO is choosing the correct keywords

Answer:

he correct answer is letter "B": keywords.

Explanation:

Human Resources (HR) staff usually handle an overwhelming number of resumes during openings. To make sure during online searches a curriculum vitae will be selected, keywords must be included. It is most likely that the HR staff will just filter words with the characteristics of the person they are looking for instead of looking at every resume they receive.

plz mark as brainliest

Question 8 of 10
What can be defined as an information technology environment?
A. The tools and processes that surround us to gather and interpret
data
O B. The rules and regulations that government and businesses must
follow to be secure from hackers
C. The energy used to create and maintain technology
D. The buildings and materials that house computer services
SUBMIT

Answers

Answer:

C. The energy used to create and maintain technology

#Carry on learning po

How many passes will it take to find the five in this list?

1, 5, 10, 15, 20, 22, 30
3

1

4

2

Answers

Answer:

1 im prety sure

Explanation:

Answer:

2

Explanation:

is the correct answer

good luck

2 elements of a Graphical User Interface

Answers

Answer:

Drop Lists and Text boxes

Explanation:

Which technique will you use to make listening to audio a pleasant experience?
Audio _____ is the smooth shift of one audio file into another.

Answers

Don't quote me on this, but I *think* the answer is "Audio transition/transitioning is the smooth shift of one audio file into another." I hope I was able to help and I apologize if I was wrong. ♡♡

Answer:

Sample response: Good thriller has beginning, middle, and end. Reader has to care about the characters. A character should be mysterious so readers are interested. Crime is a good way to talk about human condition. Good thrillers change people’s point of view in some way.

Explanation:

What do microphone means

Answers

Answer:

A tiny phone

Explanation:

It means a tiny phone

A technician is checking a customer's wireless network performance and has determined it was using 802.11g. The technician's recommendation is for the customer to upgrade to 802.11ac. Which of the following is the BEST reason to upgrade?

Answers

Answer:

Spped

Explanation:

A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools is called ?
A Microsoft Word
B Microsoft Excel C
Microsoft PowerPoint
D None of these are correct.

Answers

Answer:

C

Explanation:

Well, in your inquiry it says

"A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools"

We know it isn't Microsoft Word, because Microsoft Word doesn't have a presentation feature. We know it isn't Excel because Excel is only meant for spreadsheet and analytics data.

However, on PowerPoint all these points make sense, PowerPoint is a tool that Microsoft created for the capabilities such as to present information, you can also put information inside of graphics as well, you can also draw, and outline too.

La sección de lectores de un diario de la ciudad impone como única restricción para la publicación de las cartas, que el texto debe ser de 1500 caracteres. ¿Cuál será el tamaño en KB de un archivo txt que contenga ese texto?

Answers

Answer:

El tamaño de un archivo .txt que contenga esa cantidad de texto será de 1.46 KB.

Explanation:

Se entiende que todo caracter informático posee un tamaño de 1 byte, con lo cual en total el texto no puede superar los 1,500 bytes de tamaño.

Ahora bien, un kilobyte es una unidad de medida informática superior, que se compone de 1,024. Por lo tanto, dado que 1,500 - 1,024 es igual a 474, el tamaño del archivo será de 1 KB y 474 bytes. Así, para calcular el tamaño total del archivo en KB, se debe realizar el siguiente cálculo:

1,024 = 1

474 = X

((474 x 1) / 1,024) = X

0.46 = X

Así, el tamaño de un archivo .txt que contenga esa cantidad de texto será de 1.46 KB.

The different parts of a video game won't mesh if the designers don't?

Answers

Answer:

?

Explanation:

Is there a picture that can explain this better

computer network reduces expenses of an office justify this statement​

Answers

Answer:

Computer Network reduces expenses of an office. Justify this statement with an example. Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers.Explanation:

from which latin word the word computer is derived​

Answers

Answer:

Putare

Explanation:

I took latin last year! Merry Christmas and hope this helps

what is a feature only used in powerpoint

Answers

I think powerpoint is the only presentation maker in which you can use 3D objects

Answer:

Slide transitions

Explanation: cause i got right

i'm sure 100%

2.3 pseudocode exercise on edhesive

Answers

Answer:

a=int(input("Enter a numerator: "))

b=int(input("Enter a divisor: "))

quotient=a/b

remainder=a%b

print("Quotient is: " + str(int(quotient)))

print("Remainder is: " + str(int(remainder)))

That's 2.3 question 1

a_ft = int(input("Enter the Feet: "))

a_inc = int(input("Enter the Inches: "))

b_ft = int(input("Enter the Feet: "))

b_inc = int(input("Enter the Inches: "))

sum_inc = a_inc + b_inc

# select the whole and the fractional part

inc_to_ft = sum_inc // 12

rem_from_div = sum_inc % 12

sum_ft = a_ft + b_ft + inc_to_ft

print("Feet: {} Inches: {}".format(sum_ft, rem_from_div))

That's 2.3 question 2

Explanation:

I wasn't sure which one you needed so I added both.

how to create an app on app store please its not a joke, if someone knows tell me how

Answers

Answer:

If your only talking about the app store then you program your app and when it is finished you submit it as an Apple developer and pay $99 for the app to be up.

Steps of what to do for submitting to the App Store:

Assemble App Store Information. Create a Bundle Identifier. Create a Certificate Signing Request. Create an App Store Production Certificate. Create a Production Provisioning Profile. Create an App Store Listing.Make The Release BuildFill In Version InformationSubmit Version For Review Release

hope that helps you out homie and good luck on your app bro.

If your presentation uses a background, your text should _____.

be placed in bulleted lists
work well with the background
be at least 50-points
be written in paragraph form

Answers

your text should work well with the background.

It's very important for the text to be readable.

Answer:

B (work well with the background )  

Explanation:

I have chosen B, to be the best solution and here is why. Since, your presentation uses a background you would want your text to be fitted well with the background of your choice. That way users can still see the text.

I need an example of an infinite loop like something close to that.

Answers

Answer:

int i =0

while(i=0){

console.log("if i=0 then this will keep printing until i is not 0")

}#we are not incrementing 'i' so i will be zero .

What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.

Answers

Hello :D

Your answer should be:

Apple has released multiple different versions of each model of its iPod products. The Nano, for example, has evolved from an original slim mP3 player with a very small screen to a tiny square touch-screen version to a longer, thinner touch screen version.

Hope this helped!

Brainliest appreciated :3

simplify the expression below and state the value of m for which the simplified expression is not defined 2m² + m - 15/ m² - 9​

Answers

Answer:

The simplified expression is: [tex]\frac{2m-5}{m-3}[/tex]The simplified expression is undefined for m=3

Explanation:

The given expression is:

[tex]\frac{2m^2+m-15}{m^2-9}[/tex]

The numerator can be siplified by using factorization and denominator will be simplified using the formula

[tex]a^2-b^2 = (a+b)(a-b)[/tex]

So,

[tex]= \frac{2m^2+6m-5m-15}{(m)^2-(3)^2}\\=\frac{2m(m+3)-5(m+3)}{(m-3)(m+3)}\\=\frac{(2m-5)(m+3)}{(m-3)(m+3)}\\=\frac{2m-5}{m-3}[/tex]

A fraction is undefined when the denominator is zero. In order to find the value of m on which the simplified fraction will be undefined we will put denominator equal to zero.

So,

[tex]m-3 = 0 => m = 3[/tex]

Hence,

The simplified expression is: [tex]\frac{2m-5}{m-3}[/tex]The simplified expression is undefined for m=3

Which loop prints the numbers 1, 2...100?

c = 1

while (c <= 100):
c = c + 1
print (c)

c = 1

while (c < 100):
c = c + 1
print (c)

c = 1

while (c <= 100):
print (c)
c = c + 1

c = 1

while (c < 101):
c = c + 1
print (c)

Answers

Answer:

while (c <= 100):

print (c)

c = c + 1

Explanation:

We can cancel out the while loops with ' < ' because then it won't print when C is 100.

while (c <= 100):

print (c)

c = c + 1

Is probably right because unlike the other while loop with ' <= ' it has a print statement before the C = C + 1 which means look at this:

C = 1

print(c)

C = C + 1

So when it's run 1 is printed

But when doing the other while loop:

c = 1

while (c <= 100):

print (c)

c = c + 1

C = 1

c = c + 1

print(c)

It prints 2 because it added 1 to C first before actually printing it.

The loop that prints the numbers 1, 2...100 is

c = 1

while (c <= 100):

   print (c)

   c = c + 1

We are to find the loop that prints the numbers 1 , 2 …100.

Therefore, the loop that print 1 to 100 can be represented as follows:

c = 1

while (c <= 100):

   print (c)

   c = c + 1

c is a variable initialize with zero.

The while loop is used to check if c is less than or equals to 100.

If c is less than or equal to 100 we print the value of c .

Then we add 1 to c and go back to the loop again.

learn more on loop here: https://brainly.com/question/19705987?referrer=searchResults

In critical thinking, an argument is:
A reflection about someone's thinking
A pointless dispute with someone
An attempt to persuade someone
An explanation of something

Answers

c... it’s c ok.......................
An attempt to persuade because you want as many people on your side as you can get

Eric would like to have a callout text box that makes it look as if the character in an image is speaking. Which object should he insert into the Word document?
standard text box
WordArt
callout
shape
picture

Answers

Answer:

C: Callout shape

Explanation:

The object that should he insert into the Word document is the callout function. The correct option is b.

What is Microsoft Word?

A component of Microsoft Office is Microsoft Word. The office is a collection of Microsoft products that can be used on Windows or macOS and contains Word, PowerPoint, Excel, Outlook, and numerous other tools for both private and professional usage. They aren't the same thing; Microsoft Word is merely one of such app.

A callout function is one of the functions that specifies a callout and is implemented by a callout driver.

The following collection of callout functions makes up a callout: a notification processing notifying function. A function called classifying handles classifications.

Therefore, the correct option is b. callout.

To learn more about Microsoft Word, refer to the below link:

https://brainly.com/question/2579888

#SPJ5

Which statement best describes the difference between a spreadsheet and a database?

Spreadsheets store data in tables that interact; databases store data in cells that interact.

Databases store data in tables that interact; spreadsheets store data in cells that interact.


Spreadsheets store binary data; databases store hexadecimal data.

Spreadsheets store hexadecimal data; databases store binary data, ​

Answers

Answer:

Databases store data in tables that interact; spreadsheets store data in cells that interact.

Explanation:

The main difference between between a spreadsheet and a database is that databases store data in tables that interact; spreadsheets store data in cells that interact.

What is a data?

A data can be defined as the representation of facts, concepts, instructions in a formalized manner which is suitable for communication by the user.

The spreadsheet is an application that is used for the analysis and storage of data in a cell that can be manipulated, formatted or edited within the cell.

The database is an application that can be used for the analysis and storage of data in an external tabular form.

Therefore, the main difference between between a spreadsheet and a database is that databases store data in tables that interact; spreadsheets store data in cells that interact.

Learn more about spreadsheet here:

https://brainly.com/question/25879801

#SPJ2

the data type that can hold one of two values- true or false
A.Boolean
B.string
C.integer
D.character

Answers

Answer:

A. BOOLEAN

Explanation:

A. Boolean is the answer

Define the Ctrl+A keyboard shortcut.

Answers

Carl+A selects all the text in the document

Robert is risk manager at TPT Bank has been asked to implement an updated badge reader system for addressing access control risk. Even though the risk was migrated, Robert observes some remaining risk linked with access control. What type of risk has been observed by Robert

Answers

Answer:

Disruption of computer service

Explanation:

Access control is a method or technique used by network administrators to organize and limit access to resources in a network. In a computer network, there several threats and risk experienced by users and technician, that threatens the confidentially of information and other resources.

The configured badge reader system needs data and draws bandwidth. When this bandwidth is in use, it reduces the network efficiency and computer services causing low productivity in the organization.

Other Questions
what does the word beneficiary mean Find the perimeter of the figure below. WILL MARK BRIANLEIST NO ABSURD ANSWERS PLS What is the remainder whenf(x) = 2x4 + x2 8x 1 is dividedby x - 6? Which of these support the cell theory as it is stated today The voltage between two points in a circuit is 4.2 V. If the resistance betweenthe points is 72, what is the current, according to Ohm's law?A. 0.058 AB. 76.2 AO C. 17.1 AO D. 302 A Under the caste system, an individuala)Can advance up the social ladder during this life if he or she works hardb)Can move up if they pass the civil service examc)Must live according to the duties of the caste into which he or she is bornd)May be asked to join a higher caste if he or she pleases people in higher castes Identify the radius of the circle.Help ASAP pls!!!*its hw*! helpp I have pictures 'Renewable energy is better for Nepal'. Justify with strong reasons. Please give answer as fast as possible What is the most commonly used verb(s) in the English language Vividly explain what is fahrenheint and centious in geography What conflict does John proctor face at the end of the play? explain how Booker T. Washington being born a slave could have impacted his ideas on how to overcome racism. Question 1 of 10Which of the following is an internal function of a business's accountingdepartment?O A. Coordinating accounts receivableO B. Administering employee payrollC. Coordinating accounts payableOD. Managing credit and collections accounts need answers asap rnn Which expression is equivalent to StartRoot negative 108 EndRoot minus StartRoot negative 3 EndRoot?5 StartRoot 3 EndRoot i6 StartRoot 3 EndRoot i7 StartRoot 3 EndRoot i8 StartRoot 3 EndRoot i Keith made $65 for 5 hours of work. At the rate, how much would he make for 18 hours of work? Which statements are true? Select all that apply.Centigrams are larger than decigrams.Hectometers are smaller than kilometers.Dekaliters are larger than kiloliters.Grams are smaller than dekagrams.A 2-column table with 7 rows. Column 1 has entries kilo, hecto, deka, unit, deci, centi, milli. Column 2 has entries 1,000, 100, 10, 1, 0.1, 0.01, 0.001. Combine the like terms to create an equivalent expression 11m + 1 + 3m +4 list the points in a graph of f where f(x)= -2equations is f(x)= 3x-x-2